use process.env.PORT so it can be deployed to Heroku
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const APP_PORT = process.env.APP_PORT || 5000;
|
||||
const APP_PORT = process.env.PORT || 5000;
|
||||
const APP_BASE_URL = process.env.APP_BASE_URL || "http://localhost";
|
||||
|
||||
const APP_URL = `${APP_BASE_URL}:${APP_PORT}`;
|
||||
|
||||
Reference in New Issue
Block a user