diff --git a/api/src/cobalt.js b/api/src/cobalt.js index d4396ca5..5cac208d 100644 --- a/api/src/cobalt.js +++ b/api/src/cobalt.js @@ -21,7 +21,7 @@ if (env.apiURL) { const { runAPI } = await import("./core/api.js"); if (isCluster) { - initCluster(); + await initCluster(); } runAPI(express, app, __dirname, cluster.isPrimary);