mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-27 17:38:51 +05:00
fix CORS for new subdomain
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user