From d0d73db6cf254c64ecc8d8e70f32d1a52fa10d4f Mon Sep 17 00:00:00 2001 From: William Bell Date: Sun, 26 Mar 2023 21:44:04 +0100 Subject: [PATCH] make not relelative --- wasm/argon_wasm.js | 2 +- wasm/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wasm/argon_wasm.js b/wasm/argon_wasm.js index bc4935e..85d4600 100644 --- a/wasm/argon_wasm.js +++ b/wasm/argon_wasm.js @@ -1,6 +1,6 @@ window.ArgonWASMRuntime = async (config = {}) => { const term = config.console || console; - const path = config.path || "/bin/argon.wasm"; + const path = config.path || "bin/argon.wasm"; if (typeof global !== "undefined") { } else if (typeof window !== "undefined") { window.global = window; diff --git a/wasm/index.html b/wasm/index.html index c14ce07..45879d8 100644 --- a/wasm/index.html +++ b/wasm/index.html @@ -62,7 +62,7 @@ box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } - +

Argon WASM Runtime Example