ensure that the base href is set, as it's required when reloading subpages.
fixes #264
This commit is contained in:
@@ -4,6 +4,10 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>scrutiny</title>
|
<title>scrutiny</title>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.write(`<base href="${window.location.pathname.split('/web').slice(0, 1)[0]}/web/"/>`);
|
||||||
|
</script>
|
||||||
|
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0">
|
content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0">
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user