Skip to content

Commit

Permalink
reject fake host headers
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Sep 17, 2024
1 parent 4d9d170 commit 1c931ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec_api/settings/base_lambda.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .base import * # noqa
import os

ALLOWED_HOSTS = ["*"]
ALLOWED_HOSTS = [os.environ.get("APP_DOMAIN")]
DEBUG = os.environ.get("DEBUG", False)

WHITENOISE_AUTOREFRESH = False
Expand Down

0 comments on commit 1c931ff

Please sign in to comment.