Skip to content

Commit

Permalink
fix: add CSRF_TRUSTED_ORIGINS to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MagneticNeedle committed Mar 25, 2023
1 parent 7570a54 commit bd0393d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bfportal/bfportal/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
SECRET_KEY = os.environ.get("PRODUCTION_KEY")
ALLOWED_HOSTS = os.environ.get("PRODUCTION_HOST").split(",")
ALLOWED_HOSTS.append("localhost")
CSRF_TRUSTED_ORIGINS = ["https://*.bfportal.gg/"]
logger.debug(f"Allowed Hosts {ALLOWED_HOSTS}")

try:
Expand Down

0 comments on commit bd0393d

Please sign in to comment.