Skip to content

Commit

Permalink
Merge pull request #22 from Qwizi/0.0.26
Browse files Browse the repository at this point in the history
Added secure redirect to https
  • Loading branch information
Qwizi committed Apr 23, 2024
2 parents 24bf562 + 080a275 commit 17f8823
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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.25"
version = "0.0.26"
description = ""
authors = ["Adrian Ciolek <ciolek.adrian@protonmail.com>"]
readme = "README.md"
Expand Down
2 changes: 2 additions & 0 deletions src/cs2_battle_bot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"CSRF_TRUSTED_ORIGINS", "http://localhost:8002"
).split(",")

SECURE_SSL_REDIRECT = os.environ.get("SECURE_SSL_REDIRECT", "False")

# Application definition

INSTALLED_APPS = [
Expand Down

0 comments on commit 17f8823

Please sign in to comment.