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,