Updates PORT
This commit is contained in:
parent
03173a35e4
commit
eb34e2981a
2 changed files with 4 additions and 2 deletions
4
index.js
4
index.js
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue