Skip to content

Commit

Permalink
Update db_connection.js
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaa-ezz authored Aug 30, 2018
1 parent 4385a2f commit da801e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/model/database/db_connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ require('env2')('./config.env');

let DB_URL = process.env.DB_URL;
console.log(DB_URL);
/*
if (process.env.NODE_ENV){
DB_URL = process.env.TEST_DB_URL;
}
*/
console.log(DB_URL);
if (!DB_URL){
//throw new TypeError('The DB_URL Is Not Found');
Expand Down

0 comments on commit da801e4

Please sign in to comment.