fixed mongodb env

This commit is contained in:
David Baldwynn 2016-06-18 17:01:02 -04:00
parent 8720797744
commit c5607c7c61
5 changed files with 664 additions and 143 deletions

View file

@ -36,7 +36,8 @@
"js-yaml": "^3.6.1",
"angular-ui-select": "whitef0x0/ui-select#compiled",
"angular-translate": "~2.11.0",
"ng-device-detector": "^3.0.1"
"ng-device-detector": "^3.0.1",
"ng-translate": "*"
},
"resolutions": {
"angular-bootstrap": "^0.14.0",

View file

@ -3,7 +3,7 @@
module.exports = {
baseUrl: process.env.BASE_URL || 'tellform.com',
db: {
uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || '192.168.99.100:27017') + '/mean',
uri: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean',
options: {
user: '',
pass: process.env.MONGOLAB_PASS || ''

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long