fix CORS for new subdomain

This commit is contained in:
2025-07-10 21:56:47 +03:00
parent dff5e963ab
commit 94968f3cd1

View File

@@ -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'],