Fix appends to ALLOWED_HOSTS should be string instead of list
This commit is contained in:
parent
171d088829
commit
81e6d267ea
@ -425,7 +425,7 @@ if _paperless_url:
|
||||
|
||||
if ["*"] != ALLOWED_HOSTS:
|
||||
# always allow localhost. Necessary e.g. for healthcheck in docker.
|
||||
ALLOWED_HOSTS.append(["localhost"])
|
||||
ALLOWED_HOSTS.append("localhost")
|
||||
if _paperless_url:
|
||||
ALLOWED_HOSTS.append(_paperless_uri.hostname)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user