diff --git a/src/server.js b/src/server.js index 676581c..a49a455 100644 --- a/src/server.js +++ b/src/server.js @@ -13,7 +13,7 @@ const PORT = process.env.PORT || 8080; // Configuration CORS const corsOptions = { - origin: ['http://local.lecoffreio.4nkweb:3000', 'http://localhost:3000'], + origin: ['http://local.lecoffreio.4nkweb:3000', 'http://localhost:3000', 'https://lecoffreio.4nkweb.com'], methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], allowedHeaders: ['Content-Type', 'Authorization'] };