diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -42,10 +42,7 @@ try { | |||
42 | 42 | ||
43 | import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init' | 43 | import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init' |
44 | 44 | ||
45 | const errorMessage = checkConfig() | 45 | checkConfig() |
46 | if (errorMessage !== null) { | ||
47 | throw new Error(errorMessage) | ||
48 | } | ||
49 | 46 | ||
50 | // Trust our proxy (IP forwarding...) | 47 | // Trust our proxy (IP forwarding...) |
51 | app.set('trust proxy', CONFIG.TRUST_PROXY) | 48 | app.set('trust proxy', CONFIG.TRUST_PROXY) |