From 3e4e4bbd77533846384dd2e3d1a76bee56c69ee5 Mon Sep 17 00:00:00 2001 From: Foxix Date: Thu, 10 Jul 2025 22:13:45 +0300 Subject: [PATCH] fix --- src/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/index.js b/src/index.js index f5fadab..4a714eb 100644 --- a/src/index.js +++ b/src/index.js @@ -105,12 +105,7 @@ const swaggerDocs = swaggerJsdoc(swaggerOptions); // CORS configuration const corsOptions = { - origin: [ - 'http://localhost:3000', - 'https://neo-movies.vercel.app', - 'https://neomovies.sofron.ru', - /\.vercel\.app$/ - ], + origin: '*', methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], allowedHeaders: ['Content-Type', 'Authorization'], credentials: true,