Skip to content

Commit 481d1cf

Browse files
authored
Merge pull request #89 from diogo405/replace-var
refactor: replace `var` with `const` and add line break at the end of index.js
2 parents a77f07b + 74e8642 commit 481d1cf

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)