use relative path v2
This commit is contained in:
parent
caeadb7660
commit
c32989b666
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 -->
|
||||
|
||||
<script type="module" nonce="DsT0Qhvf7mYrq+DdDc1GOQ==">
|
||||
import init, * as bindings from './egui-circles-4f8030f072449e22.js';
|
||||
const wasm = await init('./egui-circles-4f8030f072449e22_bg.wasm');
|
||||
import init, * as bindings from 'egui-circles-4f8030f072449e22.js';
|
||||
const wasm = await init('egui-circles-4f8030f072449e22_bg.wasm');
|
||||
|
||||
|
||||
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 -->
|
||||
<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: dark)" content="#404040">
|
||||
|
||||
@ -124,8 +124,8 @@ dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
|
||||
|
||||
</style>
|
||||
|
||||
<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="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>
|
||||
|
||||
<body>
|
||||
<!-- The WASM code will resize the canvas dynamically -->
|
||||
|
Loading…
Reference in New Issue
Block a user