Skip to content

Commit

Permalink
Fix #3 Adding site to CSRF configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stariluz committed Jun 24, 2024
1 parent 64d71d4 commit 59bcc9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions myFacegram/settings_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
'node85a.containers.back4app.com',
'https://node85a.containers.back4app.com',
]
CSRF_TRUSTED_ORIGINS = ['https://myfacegram-bohfye0n.b4a.run/']
CSRF_ALLOWED_ORIGINS = ['https://myfacegram-bohfye0n.b4a.run/']
CORS_ORIGINS_WHITELIST = ['https://myfacegram-bohfye0n.b4a.run/']

# Application definition

Expand Down

0 comments on commit 59bcc9f

Please sign in to comment.