mirror of https://github.com/status-im/codimd.git
Update to indicate version in status API header
This commit is contained in:
parent
e629800457
commit
011d043b2a
3
app.js
3
app.js
|
@ -234,7 +234,8 @@ app.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
|
||||
'X-Robots-Tag': 'noindex, nofollow', // prevent crawling
|
||||
'HackMD-Version': config.version
|
||||
})
|
||||
res.send(data)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue