Skip to content

Commit f4231bd

Browse files
committed
Port listening
1 parent cecef2f commit f4231bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

JAVASCRIPT BUTTON APP/app.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ app.use(express.static("public"));
66

77
app.get("/", function(req, res){
88
res.sendFile(__dirname + "/index.html");
9-
});
9+
});
10+
11+
app.listen(3000, function(req, res) {
12+
console.log("Server started running on port 3000.");
13+
})

0 commit comments

Comments
 (0)