mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Http login screen on devel
This commit is contained in:
parent
bd0c70177d
commit
dfe931bd6f
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ module.exports = function (options) {
|
|||
})
|
||||
} else {
|
||||
res.render('login', {
|
||||
redirect: 'https://' + req.hostname + req.url
|
||||
devel: process.env.NS_DEVEL
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue