From f629d7d8521e3714d0a9177e1f8b92aa066e5d46 Mon Sep 17 00:00:00 2001 From: statta Date: Tue, 17 Mar 2020 22:11:02 -0400 Subject: Portal GUI Stuck in "Loading..." Screen Issue-ID: PORTAL-857 Change-Id: I019fa686efa838e74b6accbf4602e70a0783b245 Signed-off-by: statta --- portal-FE-os/src/index.html | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'portal-FE-os') diff --git a/portal-FE-os/src/index.html b/portal-FE-os/src/index.html index 5c8085ff..e0dd76c1 100644 --- a/portal-FE-os/src/index.html +++ b/portal-FE-os/src/index.html @@ -58,27 +58,17 @@ head.insertBefore(baseNode,head.childNodes[0] || null); window.base = base; } - if (window.location.href.includes('webtest.csp.att.com') || window.location.href.includes('www.e-access.att.com') || window.location.href.includes('ecomp.e-access.att.com')) { - //change to webjuction context - var base = window.location.pathname.substring(0, nthIndex(window.location.pathname, "/", 3) + 1); - //document.write(""); + + var base = window.location.pathname.substring(0, nthIndex(window.location.pathname,"/", 2) + 1); addBaseHref(base); - } else { - //not webjunction - var base = window.location.pathname.substring(0, nthIndex(window.location.pathname,"/", 1) + 1); - //document.write(""); - addBaseHref(base); - - } + ONAP Portal - - Loading... -- cgit 1.2.3-korg