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:
commit
2be76d2ae5
6 changed files with 17 additions and 93 deletions
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue