mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Merge branch 'master' of gitlab.com:MrFry/mrfrys-node-server
This commit is contained in:
@@ -84,7 +84,7 @@ function GetApp(): ModuleType {
|
||||
const fpath = listedFiles + fp
|
||||
if (!fs.existsSync(fpath)) {
|
||||
res.render('nofile', {
|
||||
missingFile: fpath,
|
||||
missingFile: fp,
|
||||
url,
|
||||
})
|
||||
return
|
||||
@@ -222,7 +222,7 @@ function GetApp(): ModuleType {
|
||||
}
|
||||
} catch (err) {
|
||||
res.render('nofile', {
|
||||
missingFile: curr,
|
||||
missingFile: relPath,
|
||||
url,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user