Просмотр исходного кода

Merge pull request #2156 from overleaf/hb-secure-headers

Use helmet to set nosniff and sameorigin

GitOrigin-RevId: e5d684d772523ca740be75ebe9d248db74209f25
Simon Detheridge 7 лет назад
Родитель
Сommit
2031115f48
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      services/web/app/src/infrastructure/Server.js

+ 1 - 3
services/web/app/src/infrastructure/Server.js

@@ -204,9 +204,7 @@ webRouter.use(function(req, res, next) {
     dnsPrefetchControl: false,
     referrerPolicy: { policy: 'origin-when-cross-origin' },
     noCache: isLoggedIn || isProjectPage,
-    noSniff: false,
-    hsts: false,
-    frameguard: false
+    hsts: false
   })(req, res, next)
 })