Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
Project Page
Commits
2813b4e2
Commit
2813b4e2
authored
4 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Plain Diff
Merge branch 'patch-1' into 'master'
Update dbconn.js changed env to production See merge request
!18
parents
c2e08aec
fa388d30
master
1 merge request
!18
Update dbconn.js changed env to production
Pipeline
#1005
passed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routes/dbconn.js
+1
-1
routes/dbconn.js
with
1 addition
and
1 deletion
+1
-1
routes/dbconn.js
+
1
-
1
View file @
2813b4e2
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 ====
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets