This repository was archived by the owner on Aug 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ var defaultEnvConfig = require ( './default' ) ;
4
+
3
5
module . exports = {
4
6
db : {
5
7
uri : process . env . MONGOHQ_URL || process . env . MONGOLAB_URI || 'mongodb://' + ( process . env . DB_1_PORT_27017_TCP_ADDR || 'localhost' ) + '/mean-dev' ,
@@ -20,7 +22,7 @@ module.exports = {
20
22
}
21
23
} ,
22
24
app : {
23
- title : 'MEAN.JS - Development Environment'
25
+ title : defaultEnvConfig . app . title + ' - Development Environment'
24
26
} ,
25
27
facebook : {
26
28
clientID : process . env . FACEBOOK_ID || 'APP_ID' ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ var defaultEnvConfig = require ( './default' ) ;
4
+
3
5
module . exports = {
4
6
db : {
5
7
uri : process . env . MONGOHQ_URL || process . env . MONGOLAB_URI || 'mongodb://' + ( process . env . DB_1_PORT_27017_TCP_ADDR || 'localhost' ) + '/mean-test' ,
@@ -12,7 +14,7 @@ module.exports = {
12
14
} ,
13
15
port : process . env . PORT || 3001 ,
14
16
app : {
15
- title : 'MEAN.JS - Test Environment'
17
+ title : defaultEnvConfig . app . title + ' - Test Environment'
16
18
} ,
17
19
facebook : {
18
20
clientID : process . env . FACEBOOK_ID || 'APP_ID' ,
You can’t perform that action at this time.
0 commit comments