Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

chore: keep the desktop CORS fix in the API only

tianma-ifaf748f7a80e7
diff --git a/apps/desktop/src/main/app-protocol.mjs b/apps/desktop/src/main/app-protocol.mjs
index 40a404a2..1cd136f2 100644
--- a/apps/desktop/src/main/app-protocol.mjs
+++ b/apps/desktop/src/main/app-protocol.mjs
@@ -5,7 +5,6 @@ import { Readable } from "node:stream";
export const DESKTOP_APP_SCHEME = "edgeever-app";
export const DESKTOP_APP_HOST = "app";
-// Instance API CORS must allow this origin; omitting it makes packaged login look like a network failure.
export const DESKTOP_APP_ORIGIN = `${DESKTOP_APP_SCHEME}://${DESKTOP_APP_HOST}`;
export const DESKTOP_APP_ENTRY_URL = `${DESKTOP_APP_ORIGIN}/index.html`;