From c2cb668edd660c4546e8fa84a0ff0f6120926e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaume=20Sol=C3=ADs?= Date: Thu, 11 Apr 2024 12:44:11 +0200 Subject: [PATCH] cambios, algo pasa en el server --- api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/index.js b/api/index.js index 03c3009..8a4821e 100644 --- a/api/index.js +++ b/api/index.js @@ -18,7 +18,7 @@ paypal.configure({ const app = express(); const port = 9999; -const allowedOrigins = ['http://localhost:9100', 'https://floranet.onecommerce.dev', 'http://49.13.85.117', 'http://floranet.onecommerce.dev']; +const allowedOrigins = ['https://staging.floranet.es','http://localhost:9100', 'https://floranet.onecommerce.dev', 'http://49.13.85.117', 'http://floranet.onecommerce.dev']; const corsOptions = { origin: allowedOrigins, optionsSuccessStatus: 200,