Skip to content
Snippets Groups Projects
Commit 6e7a544d authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed task direct link to support container protocol.

parent e6a0c9a6
No related branches found
No related tags found
No related merge requests found
...@@ -924,7 +924,7 @@ def sharable_link_handler(request, id): ...@@ -924,7 +924,7 @@ def sharable_link_handler(request, id):
# Then, redirect to the task through the tunnel # Then, redirect to the task through the tunnel
tunnel_host = get_tunnel_host() tunnel_host = get_tunnel_host()
return redirect('http://{}:{}'.format(tunnel_host,task.tunnel_port)) return redirect('{}://{}:{}'.format(task.container.protocol, tunnel_host,task.tunnel_port))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment