Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
d21cca4f
Commit
d21cca4f
authored
Jul 06, 2022
by
Rosanny Sihombing
Browse files
minor fix
parent
b55c912d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config/dbconn.ts
View file @
d21cca4f
import
mysql
from
'
mysql2
'
const
env
=
process
.
env
.
NODE_ENV
??
'
development
'
const
env
=
process
.
env
.
NODE_ENV
??
'
testing
'
const
config
=
require
(
'
./config
'
)[
env
]
// ==== USER ACOOUNT DB CONNECTION ====
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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