mirror of
https://github.com/portainer/portainer.git
synced 2025-11-26 14:06:05 +08:00
fix ingress published url (#7113)
This commit is contained in:
@@ -95,8 +95,7 @@ angular.module('portainer.docker').controller('KubernetesApplicationsDatatableCo
|
||||
.filter(({ Host, IP }) => Host || IP)
|
||||
.map(({ Host, IP, Port, Path }) => {
|
||||
let scheme = Port === 443 ? 'https' : 'http';
|
||||
let urlPort = Port === 80 || Port === 443 ? '' : `:${Port}`;
|
||||
return `${scheme}://${Host || IP}${urlPort}${Path}`;
|
||||
return `${scheme}://${Host || IP}${Path}`;
|
||||
});
|
||||
|
||||
// Map all load balancer service ports to ip address
|
||||
|
||||
Reference in New Issue
Block a user