Spaces:
Running
Running
Update index.js
Browse files
index.js
CHANGED
@@ -76,7 +76,7 @@ app.post("/", async (req, res) => {
|
|
76 |
}
|
77 |
});
|
78 |
|
79 |
-
const PORT =
|
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);
|