mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Use different p2p policy for embeds and webapp
This commit is contained in:
parent
9576506763
commit
b65de1be4d
12 changed files with 118 additions and 36 deletions
|
@ -63,7 +63,12 @@ class ServerConfigManager {
|
|||
licence: CONFIG.DEFAULTS.PUBLISH.LICENCE
|
||||
},
|
||||
p2p: {
|
||||
enabled: CONFIG.DEFAULTS.P2P.ENABLED
|
||||
webapp: {
|
||||
enabled: CONFIG.DEFAULTS.P2P.WEBAPP.ENABLED
|
||||
},
|
||||
embed: {
|
||||
enabled: CONFIG.DEFAULTS.P2P.EMBED.ENABLED
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue