Tag staging email #85

Merged
RabbIT09-n merged 3 commits from tag-staging-email into master 2020-02-04 14:07:54 +01:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 712cde1632 - Show all commits

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.NODE_ENV !== "production";
const STAGING = process.env.SETTINGS !== "production";
const DEFAULT_TIMEZONE = "Europe/Sarajevo";

View File

@@ -8,6 +8,9 @@ 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
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
MAX_REAL_ESTATES_IN_FIRST_EMAIL=Max number of real estates that will be shown in first (welcome) email