forked from svrjs/svrjs
Fix 500 Internal Server Error related to URL rewriting
This commit is contained in:
parent
1c94a990fa
commit
6f6fb1f89f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ module.exports = (req, res, logFacilities, config, next) => {
|
|||
!_fileState
|
||||
) {
|
||||
fs.stat(
|
||||
"." + decodeURIComponent(req.parsedUrl.pathname),
|
||||
"." + decodeURIComponent(req.parsedURL.pathname),
|
||||
(err, stats) => {
|
||||
var _fileState = 3;
|
||||
if (err) {
|
||||
|
|
Reference in a new issue