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
User Account
Commits
9fb1193e
Commit
9fb1193e
authored
5 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
change projectDB to testing DB
parent
837a0ea9
master
MLAB-677
devel
devel_wolfgang
patch-1
reset-jul13
reset-merge
test_logoutbutton
testing
1 merge request
!2
Mlab 56
Pipeline
#528
passed with stage
in 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/config.js
+1
-0
config/config.js
routes/dbconn.js
+1
-1
routes/dbconn.js
with
2 additions
and
1 deletion
+2
-1
config/config.js
+
1
-
0
View file @
9fb1193e
...
...
@@ -21,6 +21,7 @@ module.exports = {
password
:
'
Stuttgart2019
'
,
// DB password
port
:
3306
,
// MySQL port
dbUser
:
'
userdb
'
,
// User DB
host_project
:
'
m4lab.hft-stuttgart.de
'
,
// DB host project db
dbProject
:
'
projectDB
'
// Project DB
},
mailer
:
{
...
...
This diff is collapsed.
Click to expand it.
routes/dbconn.js
+
1
-
1
View file @
9fb1193e
...
...
@@ -51,7 +51,7 @@ var dbconn = function dbconn(query, values, next) {
// ==== PROJECT DB CONNECTION ====
var
projectConnection
=
mysql
.
createConnection
({
host
:
config
.
database
.
host
,
host
:
config
.
database
.
host
_project
,
user
:
config
.
database
.
user
,
password
:
config
.
database
.
password
,
port
:
config
.
database
.
port
,
...
...
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