Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-3 committed Aug 16, 2024
1 parent 77dc22b commit 809684b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
17 changes: 6 additions & 11 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<script defer src="https://unpkg.com/[email protected]/dist/browser.js"></script>

<script type="module" nonce="hoBtIVij8IZO4IPtFkyoMA==">
<script type="module" nonce="BgbnQ8qaBhr8heMofTWBlQ==">
import init, * as bindings from '/secret-leptos-b98ea99ef209074.js';
const wasm = await init('/secret-leptos-b98ea99ef209074_bg.wasm');

Expand All @@ -18,14 +17,12 @@
dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));

</script>
<link rel="icon" href="/favicon-e9cbd8f50cc65bf2.ico" integrity="sha384&#x2D;YobgLXwtz0GhXVUTHml49p32guapVFlEG8UpQdDVN3kekOqkQi&#x2B;qSXEpwp&#x2B;yM4BW"/>
<link rel="stylesheet" href="/input-1e281e73305a75dd.css" integrity="sha384&#x2D;oetCHYGBfUNM84kyFcBMXGp8djsTF4YBWZK4mg1yjqBxJgfjTVf&#x2B;aqfZN7&#x2B;6Tzkf"/>
<!-- <link data-trunk rel="scss" href="style/main.scss" /> -->


<link rel="icon" href="/favicon-e9cbd8f50cc65bf2.ico"/>
<link rel="stylesheet" href="/input-1e281e73305a75dd.css"/>

<script>
function checkResourcesLoaded() {
if (window.myWasmIsReady && window.secretjs) {
if (window.myWasmIsReady) {
removeElement("elementToRemove");
} else {
setTimeout(checkResourcesLoaded, 100);
Expand All @@ -41,9 +38,7 @@
checkResourcesLoaded();
});
</script>

<link rel="modulepreload" href="/secret-leptos-b98ea99ef209074.js" crossorigin=anonymous integrity="sha384-nNAoXF5j5ZRhnCf+zN8u3ItutlpVCwpW65uKjczZv7ILrGJlyhDokPbiXuIOvOu6">
<link rel="preload" href="/secret-leptos-b98ea99ef209074_bg.wasm" crossorigin=anonymous integrity="sha384-17Jd8VxNw4WFPBDfPTvtC7jaLvCKa8SvyB6v2s9Wn4cb/DfPZyXb89JZmbm9tzMv" as="fetch" type="application/wasm"></head>
</head>

<style>
.spinner {
Expand Down
2 changes: 0 additions & 2 deletions dist/robots.txt

This file was deleted.

7 changes: 2 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<script defer src="https://unpkg.com/[email protected]/dist/browser.js"></script>
<link data-trunk rel="rust" data-wasm-opt="z" />
<link data-trunk rel="icon" type="image/ico" href="public/favicon.ico" />
<link data-trunk rel="tailwind-css" href="input.css" />
<!-- <link data-trunk rel="scss" href="style/main.scss" /> -->
<link data-trunk rel="copy-file" href="public/robots.txt" />
<link data-trunk rel="copy-dir" href="public/js/" />

<script>
function checkResourcesLoaded() {
if (window.myWasmIsReady && window.secretjs) {
if (window.myWasmIsReady) {
removeElement("elementToRemove");
} else {
setTimeout(checkResourcesLoaded, 100);
Expand Down

0 comments on commit 809684b

Please sign in to comment.