aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/server-config.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-15 15:58:10 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 10:08:55 +0100
commita9bfa85d2cdf13670aaced740da5b493fbeddfce (patch)
tree3781c9218d4cc7786b6589365c0efbed2151703d /shared/models/server/server-config.model.ts
parentc77fdc605b3ccc1ab6890f889d8200fbe9372949 (diff)
downloadPeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.gz
PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.tar.zst
PeerTube-a9bfa85d2cdf13670aaced740da5b493fbeddfce.zip
Add ability for admins to set default p2p policy
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r--shared/models/server/server-config.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index 9c3dcd6d3..71540e603 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -55,6 +55,10 @@ export interface ServerConfig {
55 privacy: VideoPrivacy 55 privacy: VideoPrivacy
56 licence: number 56 licence: number
57 } 57 }
58
59 p2p: {
60 enabled: boolean
61 }
58 } 62 }
59 63
60 webadmin: { 64 webadmin: {