aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.ts b/server.ts
index 39caf8996..2e9ed31d2 100644
--- a/server.ts
+++ b/server.ts
@@ -41,8 +41,8 @@ if (errorMessage !== null) {
41// Do not use barrels because we don't want to load all modules here (we need to initialize database first) 41// Do not use barrels because we don't want to load all modules here (we need to initialize database first)
42import { logger } from './server/helpers/logger' 42import { logger } from './server/helpers/logger'
43// Initialize database and models 43// Initialize database and models
44import { database as db } from './server/initializers/database' 44import { initDatabase } from './server/initializers/database'
45db.init(false).then(() => onDatabaseInitDone()) 45initDatabase(false).then(() => onDatabaseInitDone())
46 46
47// ----------- PeerTube modules ----------- 47// ----------- PeerTube modules -----------
48import { migrate, installApplication } from './server/initializers' 48import { migrate, installApplication } from './server/initializers'