diff options
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> |