Skip to content

Commit

Permalink
fix: Add service host as CSRF trusted origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro-Meireles committed Feb 26, 2024
1 parent ff62e69 commit 15e3842
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apip/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

ALLOWED_HOSTS = env.list("ALLOWED_HOSTS")

CSRF_TRUSTED_ORIGINS = [f"https://*.{SERVICE_HOST}"]


# Application definition

Expand Down

0 comments on commit 15e3842

Please sign in to comment.