Skip to content

Commit

Permalink
added new domain for cors
Browse files Browse the repository at this point in the history
  • Loading branch information
dqrk0jeste committed Apr 20, 2024
1 parent 89eda6c commit 6ebb3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vercel_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# Allow requests from frontend

CORS_ALLOW_ALL_ORIGINS = True if os.environ.get('ENVIRONMENT') == 'dev' else False
CORS_ALLOWED_ORIGINS = [ "https://filip841.github.io" ]
CORS_ALLOWED_ORIGINS = [ "https://filip841.github.io", "https://rarog-frontend.vercel.app" ]

ROOT_URLCONF = 'vercel_app.urls'

Expand Down

0 comments on commit 6ebb3ab

Please sign in to comment.