Skip to content

Commit a91da91

Browse files
committed
fixing
1 parent fc2b314 commit a91da91

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ app.get('/stylesheets/:name', function (req, res, next) {
6565

6666
});
6767

68-
69-
app.listen((proccess.env.PORT || 3000), function(err){
68+
let port=(process.env.PORT || 3000);
69+
app.listen(port, function(err){
7070
if(err){
71-
console.log("Some very unexplainable error ocurred.")
71+
console.log("Some very unexplainable error ocurred.");
7272
}
7373
else{
74-
console.log("We're up and listening on port 3000.")
74+
console.log(`We're up and listening on port ${port}.`);
7575
}
7676
})

0 commit comments

Comments
 (0)