TheWeirdo69 commited on
Commit
3d6e069
·
verified ·
1 Parent(s): f3b4bd6

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -8,7 +8,7 @@ const __filename = fileURLToPath(import.meta.url); // Get the current file's pat
8
  const __dirname = path.dirname(__filename); // Get the current file's directory path
9
 
10
  const app = express(); // Create a new Express.js application
11
- const port = process.env.PORT || 3000; // Set the port to use for the server (default: 3000)
12
 
13
  // CORS Configuration (Only allow your specific frontend origin)
14
  const corsOptions = {
 
8
  const __dirname = path.dirname(__filename); // Get the current file's directory path
9
 
10
  const app = express(); // Create a new Express.js application
11
+ const port = process.env.PORT || 7860; // Set the port to use for the server (default: 3000)
12
 
13
  // CORS Configuration (Only allow your specific frontend origin)
14
  const corsOptions = {