fix(server): path to .env and launch on Windows

This commit is contained in:
ValeraS
2018-10-08 12:58:56 +03:00
committed by Stuart Taylor
parent 6fb3b0503e
commit a426d85c81
3 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,5 @@
const path = require('path');
require('dotenv').config({ path: path.resolve(__dirname, '../.env')});
console.log(path.resolve(__dirname, '../.env'))
require('dotenv').config({ path: path.resolve(__dirname, '../../.env')});
const _ = require('lodash');
const Rx = require('rx');