Closed ArnaudBuchholz closed 1 week ago
Reproduced, this is because the following mapping matches / :
/
{ // Project mapping match: /^\/(.*)/, cwd: job.webapp, file: '$1', static: !job.watch && !job.debugDevMode },
But after interpolation, $1 is empty and it fails the file handler :
$1
let filePath = /([^?#]+)/.exec(redirect)[1] // filter URL parameters & hash
because it does not match, it might be interesting to replace + with *
https://github.com/ArnaudBuchholz/reserve/issues/99
Fixed in reserve@2.0.2
reserve@2.0.2
Reproduced, this is because the following mapping matches
/
:But after interpolation,
$1
is empty and it fails the file handler :because it does not match, it might be interesting to replace + with *