Removed veteranpw api and page

This commit is contained in:
mrfry 2020-12-21 12:25:09 +01:00
parent 0654a36d21
commit 81577ad621
4 changed files with 1 additions and 259 deletions

View file

@ -58,9 +58,7 @@ function GetApp(): ModuleType {
'/thanks',
'/thanks.html',
'/img/thanks.gif',
'/install',
'/favicon.ico',
'/getVeteranPw',
'/moodle-test-userscript/stable.user.js',
'/irc',
'/donate',
@ -221,14 +219,6 @@ function GetApp(): ModuleType {
logger.LogReq(req)
})
app.get('/getVeteranPw', function(req: Request, res) {
res.render('veteranPw', {
cid: req.query.cid || '',
devel: process.env.NS_DEVEL,
})
logger.LogReq(req)
})
app.get('*', function(req: Request, res) {
res.status(404).render('404')
})