@@ -6,26 +6,33 @@ const config = {
66 // dist: path.resolve(__dirname, '../../nitro/dist'),
77
88 development : {
9- url : process . env . DATABASE_URL || 'postgres://nitro:secret@localhost:5432/nitro' ,
9+ url :
10+ process . env . DATABASE_URL ||
11+ 'postgres://nitro:secret@localhost:5432/nitro' ,
1012 dialect : 'postgres'
1113 } ,
1214 production : {
13- url : process . env . DATABASE_URL || 'postgres://nitro:secret@localhost:5432/nitro' ,
15+ url :
16+ process . env . DATABASE_URL ||
17+ 'postgres://nitro:secret@localhost:5432/nitro' ,
1418 dialect : 'postgres'
1519 } ,
1620 test : {
17- url : process . env . DATABASE_URL_TEST || 'postgres://nitro:secret@localhost:5432/nitrotest' ,
21+ url :
22+ process . env . DATABASE_URL_TEST ||
23+ 'postgres://postgres:@127.0.0.1/nitrotest' ,
1824 dialect : 'postgres'
1925 } ,
2026 travis : {
21- url : 'postgres://postgres:@127.0.0.1/nitro_travis ' ,
27+ url : 'postgres://postgres:@127.0.0.1/nitrotest ' ,
2228 dialect : 'postgres'
2329 } ,
2430
2531 jwtstrategy : process . env . JWT_Strategy || 'bearer' ,
2632 jwtaudience : process . env . JWT_Audience || 'https://uat.nitrotasks.com/a/' ,
2733 jwtissuer : process . env . JWT_Issuer || 'https://dymajo.au.auth0.com/' ,
28- jwksuri : process . env . JWKS_Uri || 'https://dymajo.au.auth0.com/.well-known/jwks.json' ,
34+ jwksuri :
35+ process . env . JWKS_Uri || 'https://dymajo.au.auth0.com/.well-known/jwks.json' ,
2936 jwtsecret : process . env . JWT_Secret || 'secret'
3037}
31- module . exports = config
38+ module . exports = config
0 commit comments