removing superfluous config parameters for template files

Signed-off-by: Claudius <opensource@amenthes.de>
This commit is contained in:
Claudius 2018-09-10 22:35:38 +02:00 committed by WilliButz
parent 825ee4e66e
commit bb80bc2292
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2
5 changed files with 11 additions and 22 deletions

View file

@ -105,5 +105,5 @@ statusRouter.get('/config', function (req, res) {
'X-Robots-Tag': 'noindex, nofollow', // prevent crawling
'Content-Type': 'application/javascript'
})
res.render(config.constantsPath, data)
res.render('../js/lib/common/constant.ejs', data)
})