Testing done: This way user can still be able to provide declarative allowed_hosts=['settings'] And if not provided it will default to allowed_hosts=["*"] setting.
@@ -230,7 +230,7 @@
# Comma separated list of strings representing the host/domain names that the Hue server can serve.
# e.g.: localhost,domain1,*
- ## allowed_hosts="host.domain1"
+ ## allowed_hosts="*"
# Administrators
# ----------------
@@ -234,7 +234,7 @@
@@ -415,7 +415,8 @@ LOG_REDACTION_FILE = Config(
ALLOWED_HOSTS = Config(
key='allowed_hosts',
- dynamic_default=get_dn,
+ # dynamic_default=get_dn, # Currently off as pretty disruptive
+ default=['*'],
type=coerce_csv,
help=_('Comma separated list of strings representing the host/domain names that the Hue server can serve.')
)