mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-16 04:43:35 +00:00
refactor: improve project loading
This commit is contained in:
@@ -49,9 +49,9 @@ async function startBackend() {
|
||||
const ontimeServer = require(nodePath);
|
||||
const { initAssets, startServer, startIntegrations } = ontimeServer;
|
||||
|
||||
await initAssets();
|
||||
await initAssets(escalateError);
|
||||
|
||||
const result = await startServer(escalateError);
|
||||
const result = await startServer();
|
||||
loaded = result.message;
|
||||
|
||||
await startIntegrations();
|
||||
|
||||
Reference in New Issue
Block a user