diff options
author | pommicket <pommicket@gmail.com> | 2023-09-06 11:37:24 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-09-06 11:44:36 -0400 |
commit | a06deaf3c9397d4f6b1697c3333e6bf13309fcd1 (patch) | |
tree | 6971caa7b090193840aa8671f8c36d25d5c3497c /index.html | |
parent | 8d16e2d14ea9dafaea0af6c357ce1c09fefa0fde (diff) |
deploying
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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> |