Commit e6a48745 authored by Patrick's avatar Patrick
Browse files

server.js aktualisiert

parent 0e2f00f2
......@@ -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 || 8083);
console.log("on 8083");
app.listen(process.env.PORT || 8081);
console.log("on 8081");
// 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.38.112', // Server hosting the postgres database (host: '35.187.21.114') -- 193.196.38.112
host: '193.196.39.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.38.112', // Server hosting the postgres database (host: '35.187.21.114')
host: '193.196.39.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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment