Skip to content

Commit

Permalink
changed CORS settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Suryansh5545 committed Aug 6, 2023
1 parent 8a3f4bd commit a0e752c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
# CORS settings
CORS_ALLOW_CREDENTIALS = True

CORS_ALLOWED_ORIGINS = [getenv("CORS_ALLOWED_ORIGINS", "*")]
CORS_ALLOWED_ORIGINS = [getenv("CORS_ALLOWED_ORIGINS", "http://localhost:4200")]

CSRF_COOKIE_SECURE = True
CSRF_COOKIE_SAMESITE = 'None'
Expand Down

0 comments on commit a0e752c

Please sign in to comment.