Skip to content

Commit

Permalink
🚀 updating port settings
Browse files Browse the repository at this point in the history
  • Loading branch information
am-a-man committed Jun 8, 2021
1 parent 1e6fb2a commit 06fc496
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const { finished } = require('stream');

var app = express();
// var server = app.listen(8000, listening);

var server = app.listen(process.env.PORT || 3000,
() => console.log("Server is running..."));
function listening() {
console.log("listening...");
}
Expand Down

0 comments on commit 06fc496

Please sign in to comment.