aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server.ts b/server.ts
index f44202c9a..2531080a3 100644
--- a/server.ts
+++ b/server.ts
@@ -59,11 +59,11 @@ import { baseCSP } from './server/middlewares/csp'
59 59
60if (CONFIG.CSP.ENABLED) { 60if (CONFIG.CSP.ENABLED) {
61 app.use(baseCSP) 61 app.use(baseCSP)
62 app.use(helmet({ 62}
63 frameguard: { 63
64 action: 'deny' // we only allow it for /videos/embed, see server/controllers/client.ts 64if (CONFIG.SECURITY.FRAMEGUARD.ENABLED) {
65 }, 65 app.use(helmet.frameguard({
66 hsts: false 66 action: 'deny' // we only allow it for /videos/embed, see server/controllers/client.ts
67 })) 67 }))
68} 68}
69 69