Skip to content

Commit 74e8642

Browse files
committed
refactor: replace var with const + add line break
1 parent a77f07b commit 74e8642

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ app.use((err, req, res, next) => {
2626
});
2727
});
2828

29-
var port = process.env.PORT || 3000;
29+
const port = process.env.PORT || 3000;
3030
app.listen(port, function() {
3131
console.log('listening on port ' + port);
32-
});
32+
});

0 commit comments

Comments
 (0)