Forward to V1 when modules are not available

This commit is contained in:
Nicholas Jitkoff 2022-05-28 22:35:01 -07:00
parent f5f47fa409
commit a9e58385da

View file

@ -7,11 +7,9 @@
<link rel="stylesheet" href="/index.css">
<script src="/js/lzma/lzma-d-min.js"></script>
<script src="/js/lzma/lzma_worker-min.js"></script>
<script src="/js/crypto-js/aes.js"></script>
<script src="/index.js" type="module"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WHNPBD4T42"></script>
<script nomodule> // Use V1 renderer </script>
<script nomodule> location.href = "/v1/" + location.hash </script>
<noscript>itty.bitty requires JavaScript.</noscript>
<iframe id="iframe" sandbox="allow-downloads allow-scripts allow-forms allow-top-navigation allow-popups allow-modals allow-popups-to-escape-sandbox"></iframe>
</html>