Merge pull request 'Disabled the x-served-by and x-powered-by Headers' (#44) from feature/41-owasp_headers into dev
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #44
This commit is contained in:
Philipp Dormann 2020-12-21 17:27:12 +00:00
commit b6cf3b24d4

View File

@ -6,6 +6,8 @@ import { Application } from "express";
*/
export default async (app: Application) => {
app.enable('trust proxy');
app.disable('x-powered-by');
app.disable('x-served-by');
app.use(cookieParser());
return app;
};