Skip to content

Commit 011d043

Browse files
committed
Update to indicate version in status API header
1 parent e629800 commit 011d043

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ app.get('/status', function (req, res, next) {
234234
realtime.getStatus(function (data) {
235235
res.set({
236236
'Cache-Control': 'private', // only cache by client
237-
'X-Robots-Tag': 'noindex, nofollow' // prevent crawling
237+
'X-Robots-Tag': 'noindex, nofollow', // prevent crawling
238+
'HackMD-Version': config.version
238239
})
239240
res.send(data)
240241
})

0 commit comments

Comments
 (0)