Moved API Google Map key to env variables.

This commit is contained in:
Naida Vatric
2019-12-08 00:58:06 +01:00
committed by Bilal Catic
parent fbcda328b7
commit cb52c8592a
4 changed files with 9 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ const MAX_REAL_ESTATES_IN_FIRST_EMAIL =
const PRINT_CRAWLER_DEBUG = process.env.PRINT_CRAWLER_DEBUG_INFO || 0;
const API_MAP_KEY= process.env.API_MAP_KEY || "";
module.exports = {
APP_PORT,
APP_URL,
@@ -39,5 +41,6 @@ module.exports = {
AWS_EMAIL_CONFIG,
MAX_REAL_ESTATES_IN_EMAIL,
MAX_REAL_ESTATES_IN_FIRST_EMAIL,
PRINT_CRAWLER_DEBUG
PRINT_CRAWLER_DEBUG,
API_MAP_KEY
};