We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceb45e4 commit cd5ce46Copy full SHA for cd5ce46
1 file changed
server.js
@@ -6,7 +6,7 @@ app.get("/", (req, res)=>{
6
res.send("Hello World, Welcome to my webapp✨✨😃")
7
})
8
9
-const PORT = 3000
+const PORT = process.env.PORT || 3000
10
app.listen(PORT, ()=>{
11
console.log(`server is ruuning on ${PORT}`)
12
0 commit comments