From ec6bdea71160a901a7ba296284306b114e35ec94 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 4 Jan 2024 00:43:39 +0800 Subject: [PATCH] Fix the remote url is undefined (#338) --- frontend/src/components/Container.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Container.vue b/frontend/src/components/Container.vue index e7effd4..12f7709 100644 --- a/frontend/src/components/Container.vue +++ b/frontend/src/components/Container.vue @@ -275,7 +275,7 @@ export default defineComponent({ methods: { parsePort(port) { if (this.stack.endpoint) { - return parseDockerPort(port, this.stack.endpoint.hostname); + return parseDockerPort(port, this.stack.primaryHostname); } else { let hostname = this.$root.info.primaryHostname || location.hostname; return parseDockerPort(port, hostname);