mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 09:07:18 +01:00
Fix appends to ALLOWED_HOSTS should be string instead of list
This commit is contained in:
parent
c25698dfa7
commit
83344f748f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue