mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 12:08:02 -05:00
e5961336b7
Signed-off-by: David Mehren <dmehren1@gmail.com>
9 lines
257 B
TypeScript
9 lines
257 B
TypeScript
import { config } from '../../config'
|
|
import { NextFunction, Request, Response } from 'express'
|
|
|
|
export function codiMDVersion (req: Request, res: Response, next: NextFunction): void {
|
|
res.set({
|
|
'CodiMD-Version': config.version
|
|
})
|
|
return next()
|
|
}
|