diff --git a/lib/slack/slackApiConnection.ts b/lib/slack/slackApiConnection.ts index 2ccea4ab..7d05296d 100644 --- a/lib/slack/slackApiConnection.ts +++ b/lib/slack/slackApiConnection.ts @@ -16,6 +16,7 @@ async function slackApiConnection() { token: env.SLACK_BOT_TOKEN, signingSecret: env.SLACK_SIGNING_SECRET, socketMode: env.SLACK_DISABLE_SOCKET_MODE !== "true", + port: 0, // We never want it to listen on a port appToken: env.SLACK_APP_TOKEN, redirectUri: `${env.PUBLIC_URL}/login/slack/callback`, installerOptions: {