From 81f8b88541a87ac57f87bd747e7c8ee1b07d62ae Mon Sep 17 00:00:00 2001 From: Prabhat Khera <91852476+prabhat-org@users.noreply.github.com> Date: Wed, 29 Jun 2022 16:28:09 +1200 Subject: [PATCH] fix ingress published url (#7113) --- .../applications-datatable/applicationsDatatableController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/kubernetes/components/datatables/applications-datatable/applicationsDatatableController.js b/app/kubernetes/components/datatables/applications-datatable/applicationsDatatableController.js index d8ba54165..e3049e073 100644 --- a/app/kubernetes/components/datatables/applications-datatable/applicationsDatatableController.js +++ b/app/kubernetes/components/datatables/applications-datatable/applicationsDatatableController.js @@ -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