Skip to content

Commit

Permalink
updated app.js for pm2
Browse files Browse the repository at this point in the history
  • Loading branch information
aletya committed Apr 6, 2024
1 parent 761566b commit 0500284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ app.use(errorHandler);

app.listen(Config.DEFAULT_APP_PORT, async () => {
await connectToDatabase();
process.send?.('ready');
console.log("Server is listening on port 3000...");
});

0 comments on commit 0500284

Please sign in to comment.