Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(desktop): disable web security for CORS and fix dev server port (#648)
Bohan Jiang8bcb77330443
diff --git a/apps/desktop/electron.vite.config.ts b/apps/desktop/electron.vite.config.tsindex 22d2fed886..2c3d00a889 100644--- a/apps/desktop/electron.vite.config.ts+++ b/apps/desktop/electron.vite.config.ts@@ -11,6 +11,10 @@ export default defineConfig({plugins: [externalizeDepsPlugin()],},renderer: {+ server: {+ port: 5173,+ strictPort: true,+ },plugins: [react(), tailwindcss()],resolve: {alias: {diff --git a/apps/desktop/src/main/index.ts b/apps/desktop/src/main/index.tsindex d9d792679b..c858bee0b2 100644--- a/apps/desktop/src/main/index.ts+++ b/apps/desktop/src/main/index.ts@@ -17,6 +17,7 @@ function createWindow(): void {webPreferences: {preload: join(__dirname, "../preload/index.js"),sandbox: false,+ webSecurity: false,},});