╭ changed ───────────╮ │src/embed/index.html│ ╰────────────────────╯ ╭─────────────────────────────────────────────────────────╮ │14 │ │15 @font-face { │ │16 font-family: '3270'; │ │17 - src: url('term.ttf') format('truetype'); │ │17 + src: url('/term.ttf') format('truetype');│ │18 } │ │19 │ │20 .page { │ ╰─────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────╮ │83 <div id="overlay">{{{ HAXY_OVERLAY }}}</div> │ │84 </div> │ │85 <script id="page-data" type="text/plain">{{{ HAXY_JSON }}}</script>│ │86 - <script src="script.js"></script> │ │86 + <script src="/script.js"></script> │ │87 </body> │ │88 </html> │ │89 │ ╰─────────────────────────────────────────────────────────────────────────────╯ ╭ changed ──────────╮ │src/embed/script.js│ ╰───────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────╮ │109 wasmInstance.exports._tick(minRows(), maxCols()); │ │110 } │ │111 │ │112 -WebAssembly.instantiateStreaming(fetch("haxy.wasm"), importObject).then(async (result) => { │ │112 +WebAssembly.instantiateStreaming(fetch("/haxy.wasm"), importObject).then(async (result) => {│ │113 wasmInstance = result.instance; │ │114 │ │115 // wait for the @font-face to load before measuring cell width, otherwise │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────╯