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.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index f12d9b85a..2724990c1 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -183,6 +183,26 @@ const CONFIG = {
183 ASK_SEND_EMAIL: { 183 ASK_SEND_EMAIL: {
184 WINDOW_MS: parseDurationToMs(config.get<string>('rates_limit.ask_send_email.window')), 184 WINDOW_MS: parseDurationToMs(config.get<string>('rates_limit.ask_send_email.window')),
185 MAX: config.get<number>('rates_limit.ask_send_email.max') 185 MAX: config.get<number>('rates_limit.ask_send_email.max')
186 },
187 PLUGINS: {
188 WINDOW_MS: parseDurationToMs(config.get<string>('rates_limit.plugins.window')),
189 MAX: config.get<number>('rates_limit.plugins.max')
190 },
191 WELL_KNOWN: {
192 WINDOW_MS: parseDurationToMs(config.get<string>('rates_limit.well_known.window')),
193 MAX: config.get<number>('rates_limit.well_known.max')
194 },
195 FEEDS: {
196 WINDOW_MS: parseDurationToMs(config.get<string>('rates_limit.feeds.window')),
197 MAX: config.get<number>('rates_limit.feeds.max')
198 },
199 ACTIVITY_PUB: {
200 WINDOW_MS: parseDurationToMs(config.get<string>('rates_limit.activity_pub.window')),
201 MAX: config.get<number>('rates_limit.activity_pub.max')
202 },
203 CLIENT: {
204 WINDOW_MS: parseDurationToMs(config.get<string>('rates_limit.client.window')),
205 MAX: config.get<number>('rates_limit.client.max')
186 } 206 }
187 }, 207 },
188 TRUST_PROXY: config.get<string[]>('trust_proxy'), 208 TRUST_PROXY: config.get<string[]>('trust_proxy'),