Skip to content
Snippets Groups Projects
Commit fe81a59d authored by Zsombor Welker's avatar Zsombor Welker
Browse files

Add the DEFAULT_DOMAIN to ALLOWED_DOMAINS if it is not contained

parent 4772f708
Branches
Tags
No related merge requests found
...@@ -46,6 +46,9 @@ def main(): ...@@ -46,6 +46,9 @@ def main():
else: else:
domains = [sanify_domain(item) for item in tld.split(',')] domains = [sanify_domain(item) for item in tld.split(',')]
if '.' + default_domain not in domains:
domains.append('.' + default_domain)
cli = docker.from_env() cli = docker.from_env()
docker_gateway = find_default_docker_bridge_gateway(cli) docker_gateway = find_default_docker_bridge_gateway(cli)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment