Skip to content

Commit

Permalink
added CSRF_TRUSTED_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
dprosper committed Dec 11, 2021
1 parent 4f814a4 commit e9294ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,5 @@

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

CSRF_COOKIE_DOMAIN='.appdomain.cloud'
CSRF_COOKIE_DOMAIN='.appdomain.cloud'
CSRF_TRUSTED_ORIGINS = ['https://*.appdomain.cloud/']

0 comments on commit e9294ea

Please sign in to comment.