Skip to content

Commit

Permalink
Fixed autoInstall() to run after socketIoService.attachServer()
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Apr 5, 2024
1 parent 14bf490 commit 74b4ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/app/src/server/crowi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ Crowi.prototype.init = async function() {
this.setupExternalUserGroupSyncService(),
]);

await this.autoInstall();

await normalizeData();
};

Expand Down Expand Up @@ -505,6 +503,8 @@ Crowi.prototype.start = async function() {
// Execute this asynchronously after the express server is ready so it does not block the ongoing process
this.asyncAfterExpressServerReady();

this.autoInstall();

return serverListening;
};

Expand Down

0 comments on commit 74b4ae1

Please sign in to comment.