summaryrefslogtreecommitdiff
path: root/lib/web/statusRouter.js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-06-26 21:38:02 +0200
committerGitHub2018-06-26 21:38:02 +0200
commit6634fac84964d4f292599a9f368c182e6f10045c (patch)
treed93e6a6574ad972a27b372fc12e0539b57ca8868 /lib/web/statusRouter.js
parentd87505d5836ea1bad60c0e2c2a8aa25b9b4e1590 (diff)
parent2184491f4ac4b224e26fcc4b54d792dd4e82178f (diff)
Merge pull request #850 from SISheogorath/rebrand/CodiMD
Rebrand HackMD CE to CodiMD
Diffstat (limited to 'lib/web/statusRouter.js')
-rw-r--r--lib/web/statusRouter.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/web/statusRouter.js b/lib/web/statusRouter.js
index 4495a28e..256fead0 100644
--- a/lib/web/statusRouter.js
+++ b/lib/web/statusRouter.js
@@ -17,8 +17,7 @@ statusRouter.get('/status', function (req, res, next) {
realtime.getStatus(function (data) {
res.set({
'Cache-Control': 'private', // only cache by client
- 'X-Robots-Tag': 'noindex, nofollow', // prevent crawling
- 'HackMD-Version': config.version
+ 'X-Robots-Tag': 'noindex, nofollow' // prevent crawling
})
res.send(data)
})
@@ -102,8 +101,7 @@ statusRouter.get('/config', function (req, res) {
}
res.set({
'Cache-Control': 'private', // only cache by client
- 'X-Robots-Tag': 'noindex, nofollow', // prevent crawling
- 'HackMD-Version': config.version
+ 'X-Robots-Tag': 'noindex, nofollow' // prevent crawling
})
res.render(config.constantsPath, data)
})