mirror of
https://github.com/louislam/dockge.git
synced 2025-08-12 13:47:44 +02:00
Compare commits
1 Commits
switch-bac
...
fix-337
Author | SHA1 | Date | |
---|---|---|---|
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);
|
||||
|
Reference in New Issue
Block a user