mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 13:14:03 +00:00
Fix the remote url is undefined (#338)
This commit is contained in:
parent
f8ad8c45fd
commit
ec6bdea711
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ export default defineComponent({
|
||||||
methods: {
|
methods: {
|
||||||
parsePort(port) {
|
parsePort(port) {
|
||||||
if (this.stack.endpoint) {
|
if (this.stack.endpoint) {
|
||||||
return parseDockerPort(port, this.stack.endpoint.hostname);
|
return parseDockerPort(port, this.stack.primaryHostname);
|
||||||
} else {
|
} else {
|
||||||
let hostname = this.$root.info.primaryHostname || location.hostname;
|
let hostname = this.$root.info.primaryHostname || location.hostname;
|
||||||
return parseDockerPort(port, hostname);
|
return parseDockerPort(port, hostname);
|
||||||
|
|
Loading…
Reference in a new issue