Skip to content

Commit

Permalink
Add CSRF_TRUSTED_ORIGINS to local.py
Browse files Browse the repository at this point in the history
Co-authored-by: sag᠎e <laymonage@gmail.com>
  • Loading branch information
Stormheg and laymonage committed Jul 28, 2023
1 parent 44da651 commit 248ef54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .squash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ deployments:
# Load content, will also create a superuser for us (admin / changeme)
- python manage.py load_initial_data
# Ensure that the CSRF_TRUSTED_ORIGINS setting includes the Squash.io domain
- echo "CSRF_TRUSTED_ORIGINS = ['https://*.squash.io']" >> /bakerydemo/bakerydemo/settings/base.py
- echo "CSRF_TRUSTED_ORIGINS = ['https://*.squash.io']" > /bakerydemo/bakerydemo/settings/local.py
launch_steps:
- cd /bakerydemo/
- python manage.py runserver 0.0.0.0:80
Expand Down

0 comments on commit 248ef54

Please sign in to comment.