summaryrefslogtreecommitdiffstats
path: root/portal-FE-os/src/index.html
diff options
context:
space:
mode:
authorLorraine Welch <lb2391@att.com>2020-03-18 12:26:24 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-18 12:26:24 +0000
commit6682b263f1a9a55fa9158eb8ef980930e845116d (patch)
tree219ffeac8a697db1e7d9dc162dd4666e89800758 /portal-FE-os/src/index.html
parent50e04faa5c8e259d9967637df4281a4ee3053c4d (diff)
parentf629d7d8521e3714d0a9177e1f8b92aa066e5d46 (diff)
Merge "Portal GUI Stuck in "Loading..." Screen"
Diffstat (limited to 'portal-FE-os/src/index.html')
-rw-r--r--portal-FE-os/src/index.html16
1 files changed, 3 insertions, 13 deletions
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("<base href='/ecompportal/ecompportal/' />");
+
+ 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("<base href='/ecompportal/' />");
- addBaseHref(base);
-
- }
+
</script>
<meta charset="utf-8">
<title>ONAP Portal</title>
- <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
- <link rel="stylesheet" href="styles.19ce2a92d11ceb6c5db4.css">
</head>
<body>
<app-root>Loading...</app-root>