load AWS config through app config; fix ENV path

This commit is contained in:
Bilal Catic
2019-09-30 09:44:19 +02:00
parent c57d3f8457
commit e3e47345bc
3 changed files with 25 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
"use strict";
require("dotenv").config({ path: "../../.env" });
require("dotenv").config({ path: __dirname + "/./../../.env" });
const { CRAWLER_AD_TYPE, AD_CATEGORY } = require("../common/enums");
const olxCrawlerAdType =