Merge pull request #37361 from mitodl/marslan/6604-configurable-allowed-hosts

fix: make ALLOWED_HOSTS configurable through YAML
This commit is contained in:
Feanil Patel
2025-10-06 10:35:38 -04:00
committed by GitHub
3 changed files with 4 additions and 11 deletions

View File

@@ -139,12 +139,6 @@ if STATIC_ROOT_BASE:
DATA_DIR = path(DATA_DIR)
ALLOWED_HOSTS = [
# TODO: bbeggs remove this before prod, temp fix to get load testing running
"*",
CMS_BASE,
]
# Cache used for location mapping -- called many times with the same key/value
# in a given request.
if 'loc_cache' not in CACHES: