diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-27 09:22:59 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-27 09:22:59 +0100 |
commit | 4765348107ddd21cd2a0b86093859aa2e23ac0f1 (patch) | |
tree | c5989241291fbe8c3e2dfd4a3f7dc93c190602dc /server/initializers/config.ts | |
parent | 357308ce22e235428ee5c48aaca9308ed194c01a (diff) | |
download | PeerTube-4765348107ddd21cd2a0b86093859aa2e23ac0f1.tar.gz PeerTube-4765348107ddd21cd2a0b86093859aa2e23ac0f1.tar.zst PeerTube-4765348107ddd21cd2a0b86093859aa2e23ac0f1.zip |
Add x-powered-by header
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 9685e7bfc..7ad258f7a 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -236,6 +236,9 @@ const CONFIG = { | |||
236 | SECURITY: { | 236 | SECURITY: { |
237 | FRAMEGUARD: { | 237 | FRAMEGUARD: { |
238 | ENABLED: config.get<boolean>('security.frameguard.enabled') | 238 | ENABLED: config.get<boolean>('security.frameguard.enabled') |
239 | }, | ||
240 | POWERED_BY_HEADER: { | ||
241 | ENABLED: config.get<boolean>('security.powered_by_header.enabled') | ||
239 | } | 242 | } |
240 | }, | 243 | }, |
241 | TRACKER: { | 244 | TRACKER: { |