mirror of
https://github.com/louislam/dockge.git
synced 2024-11-21 15:53:34 +01:00
Fix the remote url is undefined
This commit is contained in:
parent
f8ad8c45fd
commit
eb5183ab12
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user