diff options
author | David Mehren | 2020-11-15 21:02:36 +0100 |
---|---|---|
committer | GitHub | 2020-11-15 21:02:36 +0100 |
commit | 4c0efe1237bc33b52d06eaf86a28adad9a041ec2 (patch) | |
tree | fa068d16074645b7b6d8d88b78724b9cd82dd879 /lib/web | |
parent | 299301f0fe5bea41b4407bbbc03932fc4dd1c1d3 (diff) | |
parent | 9898ab3ca5fa226967d8a3aca8e6e752554ed64d (diff) |
Merge pull request #453 from hedgedoc/misc/renaming
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 }) |