summaryrefslogtreecommitdiff
path: root/lib/web/middleware/codiMDVersion.js
blob: e7775876fdd75a7e583663cc1c7d429321c95d34 (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({
    'CodiMD-Version': config.version
  })
  return next()
}