Commit 77485977 authored by Daniele Venzano's avatar Daniele Venzano

Remove slash from url path in env variable

parent 93534bbc
......@@ -45,7 +45,7 @@ def gen_environment(execution: Execution, service: Service, env_subst_dict: Dict
env_list.append(('SERVICE_NAME', service.name))
if get_conf().traefik_zk_ips is not None:
for port in service.ports:
env_list.append(('REVERSE_PROXY_PATH_{}'.format(port.internal_number), '/{}/{}'.format(get_conf().traefik_base_url, port.proxy_key())))
env_list.append(('REVERSE_PROXY_PATH_{}'.format(port.internal_number), '{}/{}'.format(get_conf().traefik_base_url, port.proxy_key())))
wk_vol = ZoeFSWorkspace().get(execution.owner)
env_list.append(('ZOE_WORKSPACE', wk_vol.mount_point))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment