Skip to content

Commit

Permalink
fixing issue where port number is not properly shown
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbishop committed Sep 12, 2024
1 parent 0bea37d commit 7c3edae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ async function initApp(app) {
await initApp(app);

await app.start(process.env.PORT || port);
console.log(`⚡️ Slack Bolt app is running on port ${port}!`);
console.log(`Healthcheck endpoint available at http://localhost:${port}/healthcheck`);
console.log(`⚡️ Slack Bolt app is running on port ${process.env.PORT || port}!`);
console.log(`Healthcheck endpoint available at http://localhost:${process.env.PORT || port}/healthcheck`);
// todo: confirm the block below is not preventing the bot to accept event in Cloudrun without no cpu throttling
console.log(`Checking all expired duration based accesses are revoked.`)
await startUpCleanUp(app)
Expand Down

0 comments on commit 7c3edae

Please sign in to comment.