From e6a48745b21fc04775a4d80b026cc5784007653d Mon Sep 17 00:00:00 2001
From: Patrick <patrick.wuerstle@gmx.de>
Date: Mon, 21 Mar 2022 16:54:33 +0100
Subject: [PATCH] server.js aktualisiert

---
 server.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/server.js b/server.js
index 47b1d8a14..544c4f1d3 100644
--- a/server.js
+++ b/server.js
@@ -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
-- 
GitLab