Merge branch 'master' of gitlab.com:MrFry/mrfrys-node-server

This commit is contained in:
mrfry 2021-05-04 10:28:48 +02:00
commit 2be76d2ae5
6 changed files with 17 additions and 93 deletions

View file

@ -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,
})
}