iDevBuddy commited on
Commit
1dc857d
·
1 Parent(s): 5307e67

fix: Default fallback port to 7860 for Hugging Face Spaces compatibility

Browse files
Files changed (1) hide show
  1. src/index.ts +1 -1
src/index.ts CHANGED
@@ -7,7 +7,7 @@ import { logger } from "./shared/utils/logger";
7
 
8
  // Initialize environment
9
  const env = getEnv();
10
- const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 3000;
11
 
12
  /**
13
  * Verify Slack request signature to ensure it comes from Slack.
 
7
 
8
  // Initialize environment
9
  const env = getEnv();
10
+ const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 7860;
11
 
12
  /**
13
  * Verify Slack request signature to ensure it comes from Slack.