Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Blazej Fitrzyk committed Dec 10, 2024
1 parent 3558e44 commit fecd518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", "127.0.0.1").split(",")

CSRF_TRUSTED_ORIGINS = []
for i in os.getenv("CSRF_TRUSTED_ORIGINS").split(","):
for i in os.getenv("CSRF_TRUSTED_ORIGINS", "127.0.0.1").split(","):
CSRF_TRUSTED_ORIGINS.extend(("http://" + i, "https://" + i))

LOGIN_REDIRECT_URL = "/"
Expand Down

0 comments on commit fecd518

Please sign in to comment.