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/lib/server-config-manager.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/lib/server-config-manager.ts')
-rw-r--r-- | server/lib/server-config-manager.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/lib/server-config-manager.ts b/server/lib/server-config-manager.ts index d759f85e1..18032ef86 100644 --- a/server/lib/server-config-manager.ts +++ b/server/lib/server-config-manager.ts | |||
@@ -63,7 +63,12 @@ class ServerConfigManager { | |||
63 | licence: CONFIG.DEFAULTS.PUBLISH.LICENCE | 63 | licence: CONFIG.DEFAULTS.PUBLISH.LICENCE |
64 | }, | 64 | }, |
65 | p2p: { | 65 | p2p: { |
66 | enabled: CONFIG.DEFAULTS.P2P.ENABLED | 66 | webapp: { |
67 | enabled: CONFIG.DEFAULTS.P2P.WEBAPP.ENABLED | ||
68 | }, | ||
69 | embed: { | ||
70 | enabled: CONFIG.DEFAULTS.P2P.EMBED.ENABLED | ||
71 | } | ||
67 | } | 72 | } |
68 | }, | 73 | }, |
69 | 74 | ||