Added tag to email to denote staging from production.

This commit is contained in:
Naida Vatric
2020-01-14 15:59:17 +01:00
parent fc33c1210a
commit b9122f8f00
3 changed files with 25 additions and 10 deletions

View File

@@ -9,6 +9,8 @@ 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 DEFAULT_TIMEZONE = "Europe/Sarajevo";
const CRAWLER_INTERVAL = parseInt(process.env.CRAWLER_INTERVAL) || 60;
@@ -48,5 +50,6 @@ module.exports = {
MAX_REAL_ESTATES_IN_FIRST_EMAIL,
PRINT_CRAWLER_DEBUG,
API_MAP_KEY,
PROSTOR_LOGIN
PROSTOR_LOGIN,
STAGING
};