aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-14 11:35:43 +0200
committerChocobozzz <me@florianbigard.com>2021-10-14 11:35:43 +0200
commitcf0c8ee588e37809d85ec1deec1e4fdfa0f122a5 (patch)
tree1692868027592d2a300988643fdd96e5fdfe2091 /shared/models/server
parente1a570abff3ebf375433e58e7362d56bd32d4cd8 (diff)
downloadPeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.tar.gz
PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.tar.zst
PeerTube-cf0c8ee588e37809d85ec1deec1e4fdfa0f122a5.zip
Fix admin edition disabling feature
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/server-config.model.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index 4bd4b0cb4..5bbb61252 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -30,7 +30,6 @@ export interface RegisteredIdAndPassAuthConfig {
30} 30}
31 31
32export interface ServerConfig { 32export interface ServerConfig {
33 allowEdits: boolean
34 serverVersion: string 33 serverVersion: string
35 serverCommit?: string 34 serverCommit?: string
36 35
@@ -42,6 +41,14 @@ export interface ServerConfig {
42 } 41 }
43 } 42 }
44 43
44 webadmin: {
45 configuration: {
46 edition: {
47 allowed: boolean
48 }
49 }
50 },
51
45 instance: { 52 instance: {
46 name: string 53 name: string
47 shortDescription: string 54 shortDescription: string