diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-19 11:01:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-19 11:01:34 +0200 |
commit | 0883b3245bf0deb9106c4041e9afbd3521b79280 (patch) | |
tree | fcb73005e0b31a3b763ee5d22d5fc39c2da89907 /shared/models/server/server-config.model.ts | |
parent | 04ed10b21e8e1339514faae0bb690e4d97c23b0a (diff) | |
download | PeerTube-0883b3245bf0deb9106c4041e9afbd3521b79280.tar.gz PeerTube-0883b3245bf0deb9106c4041e9afbd3521b79280.tar.zst PeerTube-0883b3245bf0deb9106c4041e9afbd3521b79280.zip |
Add ability to choose what policy we have for NSFW videos
There is a global instance setting and a per user setting
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r-- | shared/models/server/server-config.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 611d0efe5..d1f956163 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | ||
2 | |||
1 | export interface ServerConfig { | 3 | export interface ServerConfig { |
2 | serverVersion: string | 4 | serverVersion: string |
3 | 5 | ||
@@ -5,6 +7,7 @@ export interface ServerConfig { | |||
5 | name: string | 7 | name: string |
6 | shortDescription: string | 8 | shortDescription: string |
7 | defaultClientRoute: string | 9 | defaultClientRoute: string |
10 | defaultNSFWPolicy: NSFWPolicyType | ||
8 | customizations: { | 11 | customizations: { |
9 | javascript: string | 12 | javascript: string |
10 | css: string | 13 | css: string |