diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-16 09:38:27 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-16 10:08:55 +0100 |
commit | b65de1be4dcf626c552be613d531d3f6e23c6085 (patch) | |
tree | 42c4d7440f9fadee6efb48ad39ccfe1a3bce8511 /server/initializers/config.ts | |
parent | 9576506763c20c7efbdb229483440a1fc984cf4d (diff) | |
download | PeerTube-b65de1be4dcf626c552be613d531d3f6e23c6085.tar.gz PeerTube-b65de1be4dcf626c552be613d531d3f6e23c6085.tar.zst PeerTube-b65de1be4dcf626c552be613d531d3f6e23c6085.zip |
Use different p2p policy for embeds and webapp
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r-- | server/initializers/config.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index a6ea6d888..f2e9f7088 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -80,7 +80,12 @@ const CONFIG = { | |||
80 | LICENCE: config.get<number>('defaults.publish.licence') | 80 | LICENCE: config.get<number>('defaults.publish.licence') |
81 | }, | 81 | }, |
82 | P2P: { | 82 | P2P: { |
83 | ENABLED: config.get<boolean>('defaults.p2p.enabled') | 83 | WEBAPP: { |
84 | ENABLED: config.get<boolean>('defaults.p2p.webapp.enabled') | ||
85 | }, | ||
86 | EMBED: { | ||
87 | ENABLED: config.get<boolean>('defaults.p2p.embed.enabled') | ||
88 | } | ||
84 | } | 89 | } |
85 | }, | 90 | }, |
86 | 91 | ||