@uniorg/localneo
Advanced tools
Comparing version 1.5.0 to 1.6.0
{ | ||
"name": "@uniorg/localneo", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"author": "m.schmale@uniorg.de", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -19,2 +19,6 @@ const Router = require('./Router') | ||
handle (request, response) { | ||
if (request.url.indexOf('~') !== -1) { | ||
request.url = request.url.replace(/\/~\d+~\//, '/') | ||
} | ||
if (request.url.endsWith('/')) { | ||
@@ -21,0 +25,0 @@ response.setHeader('Location', this.index) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49845
19
437