diff options
Diffstat (limited to '')
-rw-r--r-- | lib/web/middleware/hedgeDocVersion.js (renamed from lib/web/middleware/codiMDVersion.js) | 2 | ||||
-rw-r--r-- | lib/web/note/controller.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/web/middleware/codiMDVersion.js b/lib/web/middleware/hedgeDocVersion.js index e7775876..c34e375b 100644 --- a/lib/web/middleware/codiMDVersion.js +++ b/lib/web/middleware/hedgeDocVersion.js @@ -4,7 +4,7 @@ const config = require('../../config') module.exports = function (req, res, next) { res.set({ - 'CodiMD-Version': config.version + 'HedgeDoc-Version': config.version }) return next() } diff --git a/lib/web/note/controller.js b/lib/web/note/controller.js index e537fe08..f79574df 100644 --- a/lib/web/note/controller.js +++ b/lib/web/note/controller.js @@ -74,7 +74,7 @@ exports.showNote = function (req, res, next) { 'Cache-Control': 'private', // only cache by client 'X-Robots-Tag': 'noindex, nofollow' // prevent crawling }) - return res.render('codimd.ejs', { + return res.render('hedgedoc.ejs', { title: title, opengraph: opengraph }) |