diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ if (errorMessage !== null) { | |||
49 | // Trust our proxy (IP forwarding...) | 49 | // Trust our proxy (IP forwarding...) |
50 | app.set('trust proxy', CONFIG.TRUST_PROXY) | 50 | app.set('trust proxy', CONFIG.TRUST_PROXY) |
51 | 51 | ||
52 | // Security middlewares | 52 | // Security middleware |
53 | app.use(helmet({ | 53 | app.use(helmet({ |
54 | frameguard: { | 54 | frameguard: { |
55 | action: 'deny' // we only allow it for /videos/embed, see server/controllers/client.ts | 55 | action: 'deny' // we only allow it for /videos/embed, see server/controllers/client.ts |