Skip to content

Commit 48e96c4

Browse files
authored
Merge pull request #1565 from jc21/removes-hsts-from-admin-ui
Removes HSTS from admin ui
2 parents 25e9acf + f75b5b8 commit 48e96c4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

backend/app.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,12 @@ app.use(function (req, res, next) {
4040
}
4141

4242
res.set({
43-
'Strict-Transport-Security': 'includeSubDomains; max-age=631138519; preload',
44-
'X-XSS-Protection': '1; mode=block',
45-
'X-Content-Type-Options': 'nosniff',
46-
'X-Frame-Options': x_frame_options,
47-
'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate',
48-
Pragma: 'no-cache',
49-
Expires: 0
43+
'X-XSS-Protection': '1; mode=block',
44+
'X-Content-Type-Options': 'nosniff',
45+
'X-Frame-Options': x_frame_options,
46+
'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate',
47+
Pragma: 'no-cache',
48+
Expires: 0
5049
});
5150
next();
5251
});

0 commit comments

Comments
 (0)