Skip to content

Commit

Permalink
update settings
Browse files Browse the repository at this point in the history
  • Loading branch information
shyanukant committed Jul 29, 2023
1 parent 45856db commit 1abb628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

# ORIGINS FOR CSRF REQUEST
# CSRF_TRUSTED_ORIGINS = ['http://localhost:8000', 'http://localhost:3000']
CSRF_TRUSTED_ORIGINS = ['http://localhost:8000', 'http://localhost:3000', 'https://squib-9e460649f0f5.herokuapp.com']

# CROSS ORIGIN RESOURCE SARING: This allows in-browser requests to your Django application from other origins.
CORS_ALLOWED_ORIGINS = [
Expand Down

0 comments on commit 1abb628

Please sign in to comment.