Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix gateway tunnel addres for TCP tunnels (#1332)

Rich Turnerd96bd17e4bc4
diff --git a/ui/app/manager/src/pages/page-gateway-tunnel.ts b/ui/app/manager/src/pages/page-gateway-tunnel.ts
index bda40fce6..9fbf01d7c 100644
--- a/ui/app/manager/src/pages/page-gateway-tunnel.ts
+++ b/ui/app/manager/src/pages/page-gateway-tunnel.ts
@@ -379,7 +379,7 @@ export class PageGatewayTunnel extends Page<AppStateKeyed> {
case GatewayTunnelInfoType.HTTP:
return "//" + info.id + "." + window.location.host;
case GatewayTunnelInfoType.TCP:
- return info.id + "." + window.location.hostname + ":" + info.assignedPort;
+ return window.location.hostname + ":" + info.assignedPort;
}
}