mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 07:01:17 +08:00
chore: tweak assets folder
This commit is contained in:
parent
d2603ee67b
commit
8773a3d2c1
3 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -11,12 +11,12 @@ import "./less/highlight.less";
|
|||
import router from "./router";
|
||||
import store from "./store";
|
||||
import theme from "./theme";
|
||||
import wasmUrl from "./wasm/gomark.wasm?url";
|
||||
import "./wasm/wasm_exec.js";
|
||||
import gomarkWasm from "./assets/gomark.wasm?url";
|
||||
import "./assets/wasm_exec.js";
|
||||
|
||||
(async () => {
|
||||
const go = new window.Go();
|
||||
const responsePromise = fetch(wasmUrl);
|
||||
const responsePromise = fetch(gomarkWasm);
|
||||
const { instance } = await WebAssembly.instantiateStreaming(responsePromise, go.importObject);
|
||||
go.run(instance);
|
||||
|
||||
|
|
Loading…
Reference in a new issue