Skip to content

Commit

Permalink
Add ALLOWED_HOSTS env var
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Aug 12, 2024
1 parent 902ae84 commit 6baf15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
BASE_DIR = os.path.dirname(PROJECT_DIR)

ALLOWED_HOSTS = []
ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS", "").split(",")

# Application definition
INSTALLED_APPS = [
Expand Down

0 comments on commit 6baf15c

Please sign in to comment.