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
Alfakhori
M4labplatform
Commits
e6a48745
Commit
e6a48745
authored
3 years ago
by
Patrick
Browse files
Options
Download
Email Patches
Plain Diff
server.js aktualisiert
parent
0e2f00f2
master
workingVersion
1 merge request
!1
update some ui
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server.js
+4
-4
server.js
with
4 additions
and
4 deletions
+4
-4
server.js
+
4
-
4
View file @
e6a48745
...
...
@@ -15,8 +15,8 @@ const polycalc = require('./codepoly.js');
// const { isEmptyObject } = require('jquery');
//console.log(polycalc)
app
.
use
(
express
.
static
(
'
vcm
'
));
app
.
listen
(
process
.
env
.
PORT
||
808
3
);
console
.
log
(
"
on 808
3
"
);
app
.
listen
(
process
.
env
.
PORT
||
808
1
);
console
.
log
(
"
on 808
1
"
);
// parse application/x-www-form-urlencoded
...
...
@@ -976,7 +976,7 @@ const connection = {
user
:
'
postgres
'
,
// name of the user account
database
:
'
NoiseSensorData
'
,
// name of the database -- NoiseSensorData
password
:
'
ahpk94meteor
'
,
// env var: PGPASSWORD -- ahpk94meteor
host
:
'
193.196.3
8.112
'
,
// Server hosting the postgres database (host: '35.187.21.114') -- 193.196.38.112
host
:
'
193.196.3
9.87
'
,
// Server hosting the postgres database (host: '35.187.21.114') -- 193.196.38.112
port
:
5432
,
// env var: PGPORT
max
:
10
,
// max number of clients in the pool
idleTimeoutMillis
:
30000
// how long a client is allowed to remain idle before being closed
...
...
@@ -1077,7 +1077,7 @@ const connectionFav = {
user
:
'
postgres
'
,
// name of the user account
database
:
'
FavoritPlaces
'
,
// name of the database
password
:
'
ahpk94meteor
'
,
// env var: PGPASSWORD
host
:
'
193.196.3
8.112
'
,
// Server hosting the postgres database (host: '35.187.21.114')
host
:
'
193.196.3
9.87
'
,
// Server hosting the postgres database (host: '35.187.21.114')
port
:
5432
,
// env var: PGPORT
max
:
10
,
// max number of clients in the pool
idleTimeoutMillis
:
30000
// how long a client is allowed to remain idle before being closed
...
...
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