From a86709a4cd09cc177204c908a2e7559b15b1fedf Mon Sep 17 00:00:00 2001 From: Jiang Bohan Date: Fri, 13 Feb 2026 23:25:00 +0800 Subject: [PATCH] chore: switch API host from api-dev.copilothub.ai to api.multica.ai Update all backend API base URLs to use the production multica.ai domain. Co-Authored-By: Claude Opus 4.6 --- apps/desktop/src/renderer/src/service/request.ts | 2 +- apps/web/next.config.ts | 2 +- packages/core/src/hub/api-client.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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.