Adding fallback to port 4200 for development server

This commit is contained in:
JayWll 2020-04-11 12:10:24 -06:00
parent 5e31a3edab
commit 8b3a8b8c9b

View File

@ -117,6 +117,6 @@ app.get('/cleanup', (req, res) => {
// listen for requests :) // listen for requests :)
const listener = app.listen(process.env.PORT, function() { const listener = app.listen(process.env.PORT || 4200, function() {
console.log("Your app is listening on port " + listener.address().port); console.log("Your app is listening on port " + listener.address().port);
}); });