From 243deb1f238db27737a26e90b4146c2ab606e835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paula=20Su=C3=A1rez?= <71699020+uo269745@users.noreply.github.com> Date: Mon, 1 May 2023 00:58:46 +0200 Subject: [PATCH] Update server.ts --- restapi/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restapi/server.ts b/restapi/server.ts index c6d95ce..127e49a 100644 --- a/restapi/server.ts +++ b/restapi/server.ts @@ -30,7 +30,7 @@ app.use(bp.json()); app.use("/api", api) app.use(cors({ - origin: ['https://lomapes2c.eastus.cloudapp.azure.com/' , 'http://localhost:3000', 'https://20.169.248.119:3000'], + origin: ['http://localhost:3000', 'http://20.169.248.119:3000'], credentials:true }));