Changed port of backend to 3001

This commit is contained in:
Maciej Krzyżanowski 2023-02-26 16:40:05 +01:00
parent cf0b7bfbae
commit 8f45411981

3
app.js
View File

@ -6,9 +6,10 @@ const types = require('pg').types;
const validator = require('validator'); const validator = require('validator');
const app = express(); const app = express();
const db = pgp('postgres://postgres:99postgres11@localhost:5432/skrytka'); const db = pgp('postgres://postgres:99postgres11@localhost:5432/skrytka');
const port = 3000; const port = 3001;
class Point { class Point {
x; x;