From e451291d2b5c18a62c57ba78bf308d9703ffa02b Mon Sep 17 00:00:00 2001 From: Foxix Date: Thu, 10 Jul 2025 21:56:47 +0300 Subject: [PATCH] fix CORS for new subdomain --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 3c7ee63..f5fadab 100644 --- a/src/index.js +++ b/src/index.js @@ -108,6 +108,7 @@ const corsOptions = { origin: [ 'http://localhost:3000', 'https://neo-movies.vercel.app', + 'https://neomovies.sofron.ru', /\.vercel\.app$/ ], methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],