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 /shared/models | |
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 'shared/models')
-rw-r--r-- | shared/models/server/server-config.model.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 71540e603..0e3b4a3d2 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -57,7 +57,13 @@ export interface ServerConfig { | |||
57 | } | 57 | } |
58 | 58 | ||
59 | p2p: { | 59 | p2p: { |
60 | enabled: boolean | 60 | webapp: { |
61 | enabled: boolean | ||
62 | } | ||
63 | |||
64 | embed: { | ||
65 | enabled: boolean | ||
66 | } | ||
61 | } | 67 | } |
62 | } | 68 | } |
63 | 69 | ||