diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-08 14:04:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-08 14:06:23 +0200 |
commit | 5b9c965d5aa747f29b081289f930ee215fdc23c8 (patch) | |
tree | 1c726117525230d74235e7fa986eb72e7376fb6c /server/initializers/constants.ts | |
parent | 594d0c6a7c64b045c11508bb4e4b19b75b3fc557 (diff) | |
download | PeerTube-5b9c965d5aa747f29b081289f930ee215fdc23c8.tar.gz PeerTube-5b9c965d5aa747f29b081289f930ee215fdc23c8.tar.zst PeerTube-5b9c965d5aa747f29b081289f930ee215fdc23c8.zip |
Add ability to forbid followers
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index ac19231d0..43c5ec54c 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -324,6 +324,11 @@ const CONFIG = { | |||
324 | get USERNAME () { return config.get<string>('services.twitter.username') }, | 324 | get USERNAME () { return config.get<string>('services.twitter.username') }, |
325 | get WHITELISTED () { return config.get<boolean>('services.twitter.whitelisted') } | 325 | get WHITELISTED () { return config.get<boolean>('services.twitter.whitelisted') } |
326 | } | 326 | } |
327 | }, | ||
328 | FOLLOWERS: { | ||
329 | INSTANCE: { | ||
330 | get ENABLED () { return config.get<boolean>('followers.instance.enabled') } | ||
331 | } | ||
327 | } | 332 | } |
328 | } | 333 | } |
329 | 334 | ||