From eb5183ab121dcde87cfd9ec9a855f454a25af3b6 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 4 Jan 2024 00:41:12 +0800 Subject: [PATCH] Fix the remote url is undefined --- 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);