Skip to content

Commit

Permalink
Port listening
Browse files Browse the repository at this point in the history
  • Loading branch information
RiyaGupta89 committed Jul 10, 2021
1 parent cecef2f commit f4231bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion JAVASCRIPT BUTTON APP/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ app.use(express.static("public"));

app.get("/", function(req, res){
res.sendFile(__dirname + "/index.html");
});
});

app.listen(3000, function(req, res) {
console.log("Server started running on port 3000.");
})

0 comments on commit f4231bd

Please sign in to comment.