mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Redirect changes (re-added .html)
This commit is contained in:
parent
f0ccc20c5d
commit
9731a1d2e9
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ function GetApp() {
|
|||
logger.DebugLog(`Added route /${route}`, 'Qmining routes', 1)
|
||||
app.get(`/${route}`, function(req, res) {
|
||||
logger.LogReq(req)
|
||||
res.redirect(`${route}`)
|
||||
res.redirect(`${route}.html`)
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue