mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 11:37:02 -04:00
removing superfluous config parameters for template files
Signed-off-by: Claudius <opensource@amenthes.de>
This commit is contained in:
parent
825ee4e66e
commit
bb80bc2292
5 changed files with 11 additions and 22 deletions
lib/web
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue