summaryrefslogtreecommitdiff
path: root/lib/web/middleware/hedgeDocVersion.js
blob: c34e375b7696e0287963f4db48ac50f6d3bdcdbd (plain)
1
2
3
4
5
6
7
8
9
10
'use strict'

const config = require('../../config')

module.exports = function (req, res, next) {
  res.set({
    'HedgeDoc-Version': config.version
  })
  return next()
}