File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 3030 *
3131 *****************************************************************************/
3232
33- module . exports = {
34- user : process . env . NODE_ORACLEDB_USER || "hr" ,
35- password : process . env . NODE_ORACLEDB_PASSWORD || "welcome" ,
36- connectString : process . env . NODE_ORACLEDB_CONNECTIONSTRING || "localhost/orcl" ,
37- externalAuth : process . env . NODE_ORACLEDB_EXTERNALAUTH ? true : false
38- } ;
33+ if ( process . env . NODE_ORACLEDB_EXTERNALAUTH )
34+ {
35+ exports . externalAuth = true ;
36+ }
37+ else
38+ {
39+ exports . externalAuth = false ;
40+ exports . user = process . env . NODE_ORACLEDB_USER || "hr" ;
41+ exports . password = process . env . NODE_ORACLEDB_PASSWORD || "welcome" ;
42+ }
43+
44+ exports . connectString = process . env . NODE_ORACLEDB_CONNECTIONSTRING || "localhost/orcl" ;
You can’t perform that action at this time.
0 commit comments