Skip to content

Commit fc2b314

Browse files
committed
fixing this sub to have a dynamic port
1 parent a5fedc8 commit fc2b314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ app.get('/stylesheets/:name', function (req, res, next) {
6666
});
6767

6868

69-
app.listen(3000, function(err){
69+
app.listen((proccess.env.PORT || 3000), function(err){
7070
if(err){
7171
console.log("Some very unexplainable error ocurred.")
7272
}

0 commit comments

Comments
 (0)