aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 510f7d64d..599f3f5ac 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -232,6 +232,23 @@ const CONFIG = {
232 get MANUAL_APPROVAL () { return config.get<boolean>('followers.instance.manual_approval') } 232 get MANUAL_APPROVAL () { return config.get<boolean>('followers.instance.manual_approval') }
233 } 233 }
234 }, 234 },
235 FOLLOWINGS: {
236 INSTANCE: {
237 AUTO_FOLLOW_BACK: {
238 get ENABLED () {
239 return config.get<boolean>('followings.instance.auto_follow_back.enabled')
240 }
241 },
242 AUTO_FOLLOW_INDEX: {
243 get ENABLED () {
244 return config.get<boolean>('followings.instance.auto_follow_index.enabled')
245 },
246 get INDEX_URL () {
247 return config.get<string>('followings.instance.auto_follow_index.index_url')
248 }
249 }
250 }
251 },
235 THEME: { 252 THEME: {
236 get DEFAULT () { return config.get<string>('theme.default') } 253 get DEFAULT () { return config.get<string>('theme.default') }
237 } 254 }