use relative path
This commit is contained in:
parent
49c060011a
commit
caeadb7660
12
index.html
12
index.html
@ -12,8 +12,8 @@
|
|||||||
<!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
|
<!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
|
||||||
|
|
||||||
<script type="module" nonce="DsT0Qhvf7mYrq+DdDc1GOQ==">
|
<script type="module" nonce="DsT0Qhvf7mYrq+DdDc1GOQ==">
|
||||||
import init, * as bindings from '/egui-circles-4f8030f072449e22.js';
|
import init, * as bindings from './egui-circles-4f8030f072449e22.js';
|
||||||
const wasm = await init('/egui-circles-4f8030f072449e22_bg.wasm');
|
const wasm = await init('./egui-circles-4f8030f072449e22_bg.wasm');
|
||||||
|
|
||||||
|
|
||||||
window.wasmBindings = bindings;
|
window.wasmBindings = bindings;
|
||||||
@ -25,7 +25,7 @@ dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
|
|||||||
<!-- this is the base url relative to which other urls will be constructed. trunk will insert this from the public-url option -->
|
<!-- this is the base url relative to which other urls will be constructed. trunk will insert this from the public-url option -->
|
||||||
<base href="/" />
|
<base href="/" />
|
||||||
|
|
||||||
<link rel="icon" href="/favicon-333ea397cabaa97b.ico" integrity="sha384-iNM1F8q0aAGnXwUmjEEGVBvyrhssCCoiTvmAMopS1lH3sSO31JSId1YzlzoOLb86"/>
|
<link rel="icon" href="./favicon-333ea397cabaa97b.ico" integrity="sha384-iNM1F8q0aAGnXwUmjEEGVBvyrhssCCoiTvmAMopS1lH3sSO31JSId1YzlzoOLb86"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="manifest" href="manifest.json">
|
<link rel="manifest" href="./manifest.json">
|
||||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
|
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
|
||||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#404040">
|
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#404040">
|
||||||
|
|
||||||
@ -124,8 +124,8 @@ dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
|
|||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<link rel="modulepreload" href="/egui-circles-4f8030f072449e22.js" crossorigin=anonymous integrity="sha384-eX+PYC8IqugXk+hUxwrQp8SIU+r7qIkEFdlFJGBWaKmkTI3mT78kpIVtxLYKsXR0">
|
<link rel="modulepreload" href="./egui-circles-4f8030f072449e22.js" crossorigin=anonymous integrity="sha384-eX+PYC8IqugXk+hUxwrQp8SIU+r7qIkEFdlFJGBWaKmkTI3mT78kpIVtxLYKsXR0">
|
||||||
<link rel="preload" href="/egui-circles-4f8030f072449e22_bg.wasm" crossorigin=anonymous integrity="sha384-s5XMrOj/XdtPuq4xwcEBOhad9kPUbIb/DayoigqLm3IKQ+5VsBwMgxoUFO3AgdVO" as="fetch" type="application/wasm"></head>
|
<link rel="preload" href="./egui-circles-4f8030f072449e22_bg.wasm" crossorigin=anonymous integrity="sha384-s5XMrOj/XdtPuq4xwcEBOhad9kPUbIb/DayoigqLm3IKQ+5VsBwMgxoUFO3AgdVO" as="fetch" type="application/wasm"></head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- The WASM code will resize the canvas dynamically -->
|
<!-- The WASM code will resize the canvas dynamically -->
|
||||||
|
Loading…
Reference in New Issue
Block a user