aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
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 /config
parent1aabcae7e36bb113c2887bd7180dad2916ecaaf2 (diff)
downloadPeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.tar.gz
PeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.tar.zst
PeerTube-f8802489bbc2c0363b5668e47de7c35f573342e1.zip
Add isNSFW instance configuration key
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml4
-rw-r--r--config/production.yaml.example4
2 files changed, 8 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 7af615a82..1f6046a1b 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -163,6 +163,10 @@ instance:
163 description: 'Welcome to this PeerTube instance!' # Support markdown 163 description: 'Welcome to this PeerTube instance!' # Support markdown
164 terms: 'No terms for now.' # Support markdown 164 terms: 'No terms for now.' # Support markdown
165 default_client_route: '/videos/trending' 165 default_client_route: '/videos/trending'
166 # Whether or not the instance is dedicated to NSFW content
167 # Enabling it will allow other administrators to know that you are mainly federating sensitive content
168 # Moreover, the NSFW checkbox on video upload will be automatically checked by default
169 is_nsfw: false
166 # By default, "do_not_list" or "blur" or "display" NSFW videos 170 # By default, "do_not_list" or "blur" or "display" NSFW videos
167 # Could be overridden per user with a setting 171 # Could be overridden per user with a setting
168 default_nsfw_policy: 'do_not_list' 172 default_nsfw_policy: 'do_not_list'
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 413e3c478..ae8fb2d51 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -177,6 +177,10 @@ instance:
177 description: '' # Support markdown 177 description: '' # Support markdown
178 terms: '' # Support markdown 178 terms: '' # Support markdown
179 default_client_route: '/videos/trending' 179 default_client_route: '/videos/trending'
180 # Whether or not the instance is dedicated to NSFW content
181 # Enabling it will allow other administrators to know that you are mainly federating sensitive content
182 # Moreover, the NSFW checkbox on video upload will be automatically checked by default
183 is_nsfw: false
180 # By default, "do_not_list" or "blur" or "display" NSFW videos 184 # By default, "do_not_list" or "blur" or "display" NSFW videos
181 # Could be overridden per user with a setting 185 # Could be overridden per user with a setting
182 default_nsfw_policy: 'do_not_list' 186 default_nsfw_policy: 'do_not_list'