Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: tweak assets folder
Steven8773a3d2c1cd
diff --git a/web/src/wasm/gomark.wasm b/web/src/assets/gomark.wasmsimilarity index 99%rename from web/src/wasm/gomark.wasmrename to web/src/assets/gomark.wasmindex 90a479f04..6d6ea0020 100755Binary files a/web/src/wasm/gomark.wasm and b/web/src/assets/gomark.wasm differdiff --git a/web/src/wasm/wasm_exec.js b/web/src/assets/wasm_exec.jssimilarity index 100%rename from web/src/wasm/wasm_exec.jsrename to web/src/assets/wasm_exec.jsdiff --git a/web/src/main.tsx b/web/src/main.tsxindex d0980f849..abad1e073 100644--- a/web/src/main.tsx+++ b/web/src/main.tsx@@ -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);