termai commited on
Commit
0bbe894
·
verified ·
1 Parent(s): ebcaf1f

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -76,7 +76,7 @@ app.post("/", async (req, res) => {
76
  }
77
  });
78
 
79
- const PORT = 3000
80
  const server = http.createServer({
81
  maxHeaderSize: 64 * 1024
82
  }, app);
 
76
  }
77
  });
78
 
79
+ const PORT = process.env.PORT || 7860;
80
  const server = http.createServer({
81
  maxHeaderSize: 64 * 1024
82
  }, app);