Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
fix: append the correct port to the URL
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitri Pal <[email protected]>
  • Loading branch information
Dmitri Pal authored and puiterwijk committed Jan 17, 2023
1 parent 446e4fd commit ce5e90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/idx.html
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ <h3 class="title is-3">
var hostPort = map[0];
var containerPort = map[1][0];
var containerUrl = map[1][1];
containerUrl.replace(containerPort.toString(), hostPort.toString());
containerUrl = containerUrl.replace(containerPort.toString(), hostPort.toString());
result +=
'<li>Port ' + hostPort + ' -> ' + containerPort +
' (<a href="' + containerUrl + '/" target="_blank">link</a>)</li>';
Expand Down

0 comments on commit ce5e90c

Please sign in to comment.