UNPKG

@hmcts/rpx-xui-node-lib

Version:

Common nodejs library components for XUI

10 lines 490 B
import { Request, Response, NextFunction } from 'express'; export declare function csp({ extraScript, extraStyle, extraConnect, extraFont, extraImg, defaultCsp }?: { extraScript?: string[] | undefined; extraStyle?: string[] | undefined; extraConnect?: string[] | undefined; extraFont?: string[] | undefined; extraImg?: string[] | undefined; defaultCsp?: {} | undefined; }): (req: Request, res: Response, next: NextFunction) => void; //# sourceMappingURL=csp.d.ts.map