Skip to content

Commit b945f4c

Browse files
committed
Add Linux Docker host ip address in ALLOWED_HOSTS
Signed-off-by: tdruez <[email protected]>
1 parent 71e8bd8 commit b945f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scancodeio/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
ALLOWED_HOSTS = env.list(
4646
"ALLOWED_HOSTS",
47-
default=[".localhost", "127.0.0.1", "[::1]", "host.docker.internal"],
47+
default=[".localhost", "127.0.0.1", "[::1]", "host.docker.internal", "172.17.0.1"],
4848
)
4949

5050
CSRF_TRUSTED_ORIGINS = env.list("CSRF_TRUSTED_ORIGINS", default=[])

0 commit comments

Comments
 (0)