diff --git a/package.json b/package.json index f1a2ab8..a59534c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "http-errors": "^2.0.0", "koa-compose": "^4.1.0", "methods": "^1.1.2", - "path-to-regexp": "^6.2.1" + "path-to-regexp": "^6.3.0" }, "devDependencies": { "@commitlint/cli": "^17.7.2", diff --git a/test/lib/router.js b/test/lib/router.js index 065fe91..6fa41c7 100644 --- a/test/lib/router.js +++ b/test/lib/router.js @@ -1512,7 +1512,7 @@ describe('Router', function () { if (err) return done(err); res.header.should.have.property( 'location', - 'https://www.example.com' + 'https://www.example.com/' ); done(); });