ensure that the base href is set, as it's required when reloading subpages.

fixes #264
This commit is contained in:
Jason Kulatunga
2022-05-26 21:25:36 -07:00
parent 12e624a496
commit b6e69021b2
+4
View File
@@ -4,6 +4,10 @@
<meta charset="utf-8">
<title>scrutiny</title>
<script>
document.write(`<base href="${window.location.pathname.split('/web').slice(0, 1)[0]}/web/"/>`);
</script>
<meta name="viewport"
content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0">