Browse Source

env PORT

master
Ambrose Chua 7 years ago
parent
commit
042fc1f49a
  1. 2
      index.js

2
index.js

@ -211,4 +211,4 @@ app.get("/tracks/:artist/:album/:track", function (req, res, next) {
});
app.use("/tracks", express.static("music"));
app.listen(8080);
app.listen(process.env.PORT || 8080);
Loading…
Cancel
Save