summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-06 11:37:24 -0400
committerpommicket <pommicket@gmail.com>2023-09-06 11:44:36 -0400
commita06deaf3c9397d4f6b1697c3333e6bf13309fcd1 (patch)
tree6971caa7b090193840aa8671f8c36d25d5c3497c /index.html
parent8d16e2d14ea9dafaea0af6c357ce1c09fefa0fde (diff)
deploying
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.html b/index.html
index 4369b6e..5e3fc53 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,12 @@
<title>pugl</title>
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1" name="viewport">
+ <script>
+ // make sure we have the right base for URLs
+ if (!location.href.endsWith('.html') && !location.href.endsWith('/')) {
+ location.href = location.href + '/';
+ }
+ </script>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="style.css">
</head>