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_BASE_URL = process.env.APP_BASE_URL || "http://localhost";
|
||||||
|
|
||||||
const APP_URL = `${APP_BASE_URL}:${APP_PORT}`;
|
const APP_URL = `${APP_BASE_URL}:${APP_PORT}`;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ DB_PORT=Database port
|
|||||||
|
|
||||||
SEQUELIZE_LOGGING=0- no sequelize logging, 1- log to the console
|
SEQUELIZE_LOGGING=0- no sequelize logging, 1- log to the console
|
||||||
|
|
||||||
APP_PORT=Port for the app, defaults to 5000
|
PORT=Port for the app, defaults to 5000
|
||||||
APP_BASE_URL=base url for the app
|
APP_BASE_URL=base url for the app
|
||||||
|
|
||||||
AMAZON_ACCES_KEY_ID=(your-key-here)
|
AMAZON_ACCES_KEY_ID=(your-key-here)
|
||||||
|
|||||||
Reference in New Issue
Block a user