mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-18 05:21:53 -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()
|
|
}
|