fixing basepath.

This commit is contained in:
Jason Kulatunga 2022-08-22 18:35:36 -07:00
parent 33390680c6
commit fb67c43a64
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,11 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>fastenhealth</title> <title>fastenhealth</title>
<base href="/">
<script>
document.write(`<base href="${window.location.pathname.split('/web').slice(0, 1)[0]}/web/"/>`);
</script>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="icon" type="image/x-icon" href="favicon.ico">
</head> </head>