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
fa388d30
Commit
fa388d30
authored
Oct 01, 2020
by
Wolfgang Knopki
Browse files
Update dbconn.js changed env to production
parent
c2e08aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
routes/dbconn.js
View file @
fa388d30
const
mysql
=
require
(
'
mysql
'
)
var
env
=
process
.
env
.
NODE_ENV
||
'
testing
'
;
var
env
=
process
.
env
.
NODE_ENV
||
'
production
'
;
const
config
=
require
(
'
../config/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