Rename settings var #93

Merged
RabbIT09-n merged 1 commits from rename-settings-var into master 2020-02-10 21:17:09 +01:00
2 changed files with 2 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ const APP_URL =
? process.env.APP_URL || "http://market-alarm"
: process.env.APP_URL || `${APP_BASE_URL}:${APP_PORT}`;
const STAGING = process.env.SETTINGS !== "production";
const STAGING = process.env.ENVIRONMENT !== "production";
const DEFAULT_TIMEZONE = "Europe/Sarajevo";
@@ -55,5 +55,4 @@ module.exports = {
STAGING,
CHECK_UP_DAYS,
PROSTOR_LOGIN
};

View File

@@ -8,7 +8,7 @@ SEQUELIZE_LOGGING=0- no sequelize logging, 1- log to the console
PORT=Port for the app, defaults to 5000
APP_BASE_URL=base url for the app
SETTINGS=Variable to denote development, staging and production
ENVIRONMENT=Variable to denote development, staging and production
MAX_REAL_ESTATES_IN_EMAIL=Max number of real estates that will be shown in email, others will be truncated and URL with full list will be shwon