diff --git a/external/qcms/qcms.js b/external/qcms/qcms.js index 4f38c248f..3995a18e3 100644 --- a/external/qcms/qcms.js +++ b/external/qcms/qcms.js @@ -235,9 +235,7 @@ async function __wbg_init(module_or_path) { } } - if (typeof module_or_path === 'undefined') { - module_or_path = new URL('qcms_bg.wasm', import.meta.url); - } + const imports = __wbg_get_imports(); if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) { diff --git a/external/qcms/qcms_bg.wasm b/external/qcms/qcms_bg.wasm index 411ac2c87..aa8be2c29 100644 Binary files a/external/qcms/qcms_bg.wasm and b/external/qcms/qcms_bg.wasm differ