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
Project Page
Commits
990f3f9c
Commit
990f3f9c
authored
Jul 21, 2021
by
Rosanny Sihombing
Browse files
Merge branch 'cherry-pick-
eee26e65
' into 'testing'
set dbconn to 'testing' env See merge request
!55
parents
eed337a5
181ecc14
Pipeline
#4568
failed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config/dbconn.ts
View file @
990f3f9c
import
mysql
from
'
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