Skip to content

armgit / memos

Public Imported from GitHub
0

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.

fix: add public base path (#1748) (#1775)

Generd205a7683a3a
diff --git a/web/vite.config.ts b/web/vite.config.ts
index 003f0479e..0d686f804 100644
--- a/web/vite.config.ts
+++ b/web/vite.config.ts
@@ -10,6 +10,7 @@ if (process.env.DEV_PROXY_SERVER && process.env.DEV_PROXY_SERVER.length > 0) {
// https://vitejs.dev/config/
export default defineConfig({
+ base: "./",
plugins: [react()],
server: {
host: "0.0.0.0",