diff --git a/apps/desktop/src/renderer/src/service/request.ts b/apps/desktop/src/renderer/src/service/request.ts index ee4c27a3..0c44aeb2 100644 --- a/apps/desktop/src/renderer/src/service/request.ts +++ b/apps/desktop/src/renderer/src/service/request.ts @@ -1,7 +1,7 @@ import { useAuthStore } from '../stores/auth' // Backend API host — change this when switching environments -const API_HOST = 'https://api-dev.copilothub.ai' +const API_HOST = 'https://api.multica.ai' /** * Fetch request wrapper for desktop app. diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index dfa5bd7f..9fbe55e8 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -5,7 +5,7 @@ const nextConfig: NextConfig = { rewrites: async () => [ { source: "/api/:path*", - destination: `${process.env.API_URL || "https://api-dev.copilothub.ai"}/api/:path*`, + destination: `${process.env.API_URL || "https://api.multica.ai"}/api/:path*`, }, ], headers: async () => [ diff --git a/packages/core/src/hub/api-client.ts b/packages/core/src/hub/api-client.ts index 273ec258..7b54cf07 100644 --- a/packages/core/src/hub/api-client.ts +++ b/packages/core/src/hub/api-client.ts @@ -1,6 +1,6 @@ import { getLocalAuth } from "./auth-store.js"; -export const API_BASE_URL = "https://api-dev.copilothub.ai"; +export const API_BASE_URL = "https://api.multica.ai"; /** * Return auth headers for the proxy API.