1
0
Fork 0
forked from svrjs/svrjs

Fix 500 Internal Server Error related to URL rewriting

This commit is contained in:
Dorian Niemiec 2024-08-27 09:42:06 +02:00
parent 1c94a990fa
commit 6f6fb1f89f

View file

@ -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) {