since s3 bucket path includes /web, we dont need this conditional.
This commit is contained in:
parent
4e88f13a76
commit
3a5db5452a
|
@ -23,10 +23,7 @@
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
<script>
|
<script>
|
||||||
var baseHref = "/"
|
var baseHref = window.location.pathname.split('/web').slice(0, 1)[0] + '/web/'
|
||||||
if((window.location.hostname !== "sandbox.fastenhealth.com") && (window.location.hostname !== "app.fastenhealth.com")){
|
|
||||||
baseHref = window.location.pathname.split('/web').slice(0, 1)[0] + '/web/'
|
|
||||||
}
|
|
||||||
document.write(`<base href="${baseHref}"/>`); </script>
|
document.write(`<base href="${baseHref}"/>`); </script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue