Updates PORT

This commit is contained in:
MathMan05 2024-06-15 22:35:25 -05:00
parent 03173a35e4
commit eb34e2981a
2 changed files with 4 additions and 2 deletions

View file

@ -16,6 +16,6 @@ app.use('/', (req, res) => {
}
});
const PORT = 8080;
const PORT = process.env.PORT || process.argv[1] || 8080;
app.listen(PORT, () => {});
console.log("this ran :P");
console.log("this ran :P");