fix CORS for new subdomain

This commit is contained in:
2025-07-10 21:56:47 +03:00
parent c324d67d20
commit e451291d2b

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