Skip to content

Commit

Permalink
fix(docker): fixing #188 and #189
Browse files Browse the repository at this point in the history
CHANGE: startup script started running before migrations of database, moved it to after migration
  • Loading branch information
Raj Nandan Sharma authored and Raj Nandan Sharma committed Jan 15, 2025
1 parent 769a952 commit 35e81b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ app.listen(PORT, async () => {
await runMigrations();
await runSeed();
await db.destroy();

Startup();
console.log("Kener is running on port " + PORT + "!");
});

Startup();
1 change: 0 additions & 1 deletion src/routes/(kener)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
const { event, data } = e.detail;
Analytics.track(event, data);
}
console.log(">>>>>>---- +layout:115 ", data.site.metaTags);
</script>
<svelte:window on:analyticsEvent={captureAnalytics} />
Expand Down

0 comments on commit 35e81b5

Please sign in to comment.