Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
902048b0
Commit
902048b0
authored
May 06, 2021
by
Rosanny Sihombing
Browse files
set env back to testing
parent
2af9ff58
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/dbconn.js
View file @
902048b0
const
mysql
=
require
(
'
mysql
'
)
var
env
=
process
.
env
.
NODE_ENV
||
'
development
'
;
var
env
=
process
.
env
.
NODE_ENV
||
'
testing
'
;
const
config
=
require
(
'
./config
'
)[
env
]
// ==== USER ACOOUNT DB CONNECTION ====
...
...
config/dbconn2.js
View file @
902048b0
const
mysql
=
require
(
'
mysql2
'
)
var
env
=
process
.
env
.
NODE_ENV
||
'
development
'
;
var
env
=
process
.
env
.
NODE_ENV
||
'
testing
'
;
const
config
=
require
(
'
./config
'
)[
env
]
// ==== USER ACOOUNT DB CONNECTION ====
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment