Skip to content

Commit

Permalink
fix: 開発環境でコンテナが起動できない問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
crab85193 committed Nov 12, 2023
1 parent a7a8a8f commit 54e9d01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tely/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@

ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(" ")

CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")
if not DEBUG:
CSRF_TRUSTED_ORIGINS = os.environ.get("CSRF_TRUSTED_ORIGINS").split(" ")

# Application definition

Expand Down

0 comments on commit 54e9d01

Please sign in to comment.