start supporting fasten-cloud
This commit is contained in:
parent
855fc4c129
commit
f4ba6ca957
|
@ -23,8 +23,11 @@
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
/>
|
/>
|
||||||
<script>
|
<script>
|
||||||
document.write(`<base href="${window.location.pathname.split('/web').slice(0, 1)[0]}/web/"/>`);
|
var baseHref = "/"
|
||||||
</script>
|
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>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
|
|
Loading…
Reference in New Issue