Skip to content

Commit

Permalink
Adding CSRF thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
gm3dmo committed Oct 7, 2023
1 parent e68adb6 commit ee26fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@

ALLOWED_HOSTS = ["cmp-production.up.railway.app", "*"]

CSRF_TRUSTED_ORIGINS = ["cmp-production.up.railway.app"]

INTERNAL_IPS = [
# ...
"127.0.0.1",
Expand Down

0 comments on commit ee26fee

Please sign in to comment.