File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ const configure = () => {
3333
3434 const toBool = ( v ) => / ^ ( 1 | t r u e | y e s | o n ) $ / i. test ( ( v || '' ) . trim ( ) ) ;
3535
36- const envMysqlHost = process . env . DB_MYSQL_HOST || null ;
37- const envMysqlUser = process . env . DB_MYSQL_USER || null ;
38- const envMysqlName = process . env . DB_MYSQL_NAME || null ;
39- const envMysqlSSL = toBool ( process . env . DB_MYSQL_SSL ) ;
40- const envMysqlSSLRejectUnauthorized = process . env . DB_MYSQL_SSL_REJECT_UNAUTHORIZED === undefined ? true : toBool ( process . env . DB_MYSQL_SSL_REJECT_UNAUTHORIZED ) ;
41- const envMysqlSSLVerifyIdentity = process . env . DB_MYSQL_SSL_VERIFY_IDENTITY === undefined ? true : toBool ( process . env . DB_MYSQL_SSL_VERIFY_IDENTITY ) ;
36+ const envMysqlHost = process . env . DB_MYSQL_HOST || null ;
37+ const envMysqlUser = process . env . DB_MYSQL_USER || null ;
38+ const envMysqlName = process . env . DB_MYSQL_NAME || null ;
39+ const envMysqlSSL = toBool ( process . env . DB_MYSQL_SSL ) ;
40+ const envMysqlSSLRejectUnauthorized = process . env . DB_MYSQL_SSL_REJECT_UNAUTHORIZED === undefined ? true : toBool ( process . env . DB_MYSQL_SSL_REJECT_UNAUTHORIZED ) ;
41+ const envMysqlSSLVerifyIdentity = process . env . DB_MYSQL_SSL_VERIFY_IDENTITY === undefined ? true : toBool ( process . env . DB_MYSQL_SSL_VERIFY_IDENTITY ) ;
4242 if ( envMysqlHost && envMysqlUser && envMysqlName ) {
4343 // we have enough mysql creds to go with mysql
4444 logger . info ( "Using MySQL configuration" ) ;
You can’t perform that action at this time.
0 commit comments