Skip to content

Commit

Permalink
Merge pull request #32 from dmdhrumilmistry/cicd-fix
Browse files Browse the repository at this point in the history
fix csrf trusted origin issue
  • Loading branch information
dmdhrumilmistry authored Aug 12, 2023
2 parents a64acb9 + 878b1d2 commit d12f692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GooglePhish/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
DEBUG = True if environ.get('DEBUG','False').lower() == 'true' else False

ALLOWED_HOSTS = environ.get('ALLOWED_HOSTS', '*').split(',')
CSRF_TRUSTED_ORIGINS_VARIABLE = [origin.strip() for origin in environ.get('CSRF_TRUSTED_ORIGINS','').split(',')]
CSRF_TRUSTED_ORIGINS_VARIABLE = [origin.strip() for origin in environ.get('CSRF_TRUSTED_ORIGINS','https://dmdhrumilmistry.github.io').split(',')]

# Application definition

Expand Down

0 comments on commit d12f692

Please sign in to comment.