summaryrefslogtreecommitdiff
path: root/lib/web/middleware
diff options
context:
space:
mode:
authorDavid Mehren2020-11-15 21:02:36 +0100
committerGitHub2020-11-15 21:02:36 +0100
commit4c0efe1237bc33b52d06eaf86a28adad9a041ec2 (patch)
treefa068d16074645b7b6d8d88b78724b9cd82dd879 /lib/web/middleware
parent299301f0fe5bea41b4407bbbc03932fc4dd1c1d3 (diff)
parent9898ab3ca5fa226967d8a3aca8e6e752554ed64d (diff)
Merge pull request #453 from hedgedoc/misc/renaming
Diffstat (limited to 'lib/web/middleware')
-rw-r--r--lib/web/middleware/hedgeDocVersion.js (renamed from lib/web/middleware/codiMDVersion.js)2
1 files changed, 1 insertions, 1 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()
}