Skip to content

Commit

Permalink
Merge pull request #30 from Qwizi/0.0.33
Browse files Browse the repository at this point in the history
Fix ssl secure redirect issue
  • Loading branch information
Qwizi authored Apr 27, 2024
2 parents 664b3fa + ce4edc7 commit fa12e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cs2-battle-bot-api"
version = "0.0.32"
version = "0.0.33"
description = ""
authors = ["Adrian Ciolek <ciolek.adrian@protonmail.com>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/cs2_battle_bot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"CSRF_TRUSTED_ORIGINS", "http://localhost:8002"
).split(",")

SECURE_SSL_REDIRECT = os.environ.get("SECURE_SSL_REDIRECT", False)
SECURE_SSL_REDIRECT = os.environ.get("SECURE_SSL_REDIRECT", "False") == "True"
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

# Application definition
Expand Down

0 comments on commit fa12e2e

Please sign in to comment.