From 8f4541198165ea6d987cb724d96978bc69743001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Krzy=C5=BCanowski?= Date: Sun, 26 Feb 2023 16:40:05 +0100 Subject: [PATCH] Changed port of backend to 3001 --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 21144c5..7358ac0 100644 --- a/app.js +++ b/app.js @@ -6,9 +6,10 @@ const types = require('pg').types; const validator = require('validator'); const app = express(); + const db = pgp('postgres://postgres:99postgres11@localhost:5432/skrytka'); -const port = 3000; +const port = 3001; class Point { x;