aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/utils/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-20 15:36:43 +0100
committerChocobozzz <me@florianbigard.com>2019-02-20 15:36:43 +0100
commitf8802489bbc2c0363b5668e47de7c35f573342e1 (patch)
tree526054fad5a7f944b008ac1a6e400dfbe66a1639 /shared/utils/server
parent1aabcae7e36bb113c2887bd7180dad2916ecaaf2 (diff)
downloadPeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.tar.gz
PeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.tar.zst
PeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.zip
Add isNSFW instance configuration key
Diffstat (limited to 'shared/utils/server')
-rw-r--r--shared/utils/server/config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/utils/server/config.ts b/shared/utils/server/config.ts
index 29c24cff9..0e16af0f2 100644
--- a/shared/utils/server/config.ts
+++ b/shared/utils/server/config.ts
@@ -52,6 +52,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: any) {
52 description: 'my super description', 52 description: 'my super description',
53 terms: 'my super terms', 53 terms: 'my super terms',
54 defaultClientRoute: '/videos/recently-added', 54 defaultClientRoute: '/videos/recently-added',
55 isNSFW: true,
55 defaultNSFWPolicy: 'blur', 56 defaultNSFWPolicy: 'blur',
56 customizations: { 57 customizations: {
57 javascript: 'alert("coucou")', 58 javascript: 'alert("coucou")',