diff options
author | Wu Cheng-Han | 2017-03-22 23:44:09 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-03-22 23:44:09 +0800 |
commit | 011d043b2a8d9c8dcfd5cee4b5d9ab4248dac653 (patch) | |
tree | 71882be1fdc38ff3687052646bd1cb9abaefb6b3 | |
parent | e6298004572004b0f27b29a4b7ed51f884ba0095 (diff) |
Update to indicate version in status API header
-rw-r--r-- | app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) }) |