mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Moved views around a bit
This commit is contained in:
parent
da9c73b5cc
commit
0b5141e7d7
14 changed files with 12 additions and 12 deletions
|
@ -95,7 +95,7 @@ app.get('/*', function (req, res) {
|
|||
}
|
||||
})
|
||||
|
||||
res.render('folders', {
|
||||
res.render('stuff/folders', {
|
||||
folders: f,
|
||||
dirname: relPath,
|
||||
prevDir
|
||||
|
@ -109,7 +109,7 @@ app.get('/*', function (req, res) {
|
|||
// -----------------------------------------------------------------------------------------------
|
||||
|
||||
app.get('*', function (req, res) {
|
||||
res.render('404')
|
||||
res.render('shared/404')
|
||||
res.status(404)
|
||||
// utils.AppendToFile(logger.GetDateString() + ": " + "404 GET", logFile);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue