aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/server.ts b/server.ts
index 385996470..bb7a0c210 100644
--- a/server.ts
+++ b/server.ts
@@ -42,10 +42,7 @@ try {
42 42
43import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init' 43import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init'
44 44
45const errorMessage = checkConfig() 45checkConfig()
46if (errorMessage !== null) {
47 throw new Error(errorMessage)
48}
49 46
50// Trust our proxy (IP forwarding...) 47// Trust our proxy (IP forwarding...)
51app.set('trust proxy', CONFIG.TRUST_PROXY) 48app.set('trust proxy', CONFIG.TRUST_PROXY)