aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index abfeeed2e..6896add34 100644
--- a/server.ts
+++ b/server.ts
@@ -26,7 +26,7 @@ process.title = 'peertube'
26const app = express() 26const app = express()
27 27
28// ----------- Core checker ----------- 28// ----------- Core checker -----------
29import { checkMissedConfig, checkFFmpeg } from './server/initializers/checker-before-init' 29import { checkMissedConfig, checkFFmpeg, checkNodeVersion } from './server/initializers/checker-before-init'
30 30
31// Do not use barrels because we don't want to load all modules here (we need to initialize database first) 31// Do not use barrels because we don't want to load all modules here (we need to initialize database first)
32import { CONFIG } from './server/initializers/config' 32import { CONFIG } from './server/initializers/config'
@@ -45,6 +45,8 @@ checkFFmpeg(CONFIG)
45 process.exit(-1) 45 process.exit(-1)
46 }) 46 })
47 47
48checkNodeVersion()
49
48import { checkConfig, checkActivityPubUrls } from './server/initializers/checker-after-init' 50import { checkConfig, checkActivityPubUrls } from './server/initializers/checker-after-init'
49 51
50const errorMessage = checkConfig() 52const errorMessage = checkConfig()