Commit 486137d5 authored by Guillaume Lebigot's avatar Guillaume Lebigot

Disable HSTS since it's provided by webserver

parent 9bc5cd9e
Pipeline #12064 passed with stage
in 1 minute and 18 seconds
......@@ -45,7 +45,9 @@ export function initFrontend(listenPort: number) {
) return true;
return false;
});
app.use(helmet());
app.use(helmet({
hsts: false
}));
app.use(compression());
app.use(bodyParser.json({limit: '1000mb'})); // support json encoded bodies
app.use(bodyParser.urlencoded({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment