mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-12 19:15:44 -05:00
7b9f9a487b
Signed-off-by: David Mehren <git@herrmehren.de>
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()
|
|
}
|