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 <noreply@anthropic.com>
This commit is contained in:
Jiang Bohan 2026-02-13 23:25:00 +08:00
parent d6a1edaee1
commit a86709a4cd
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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 () => [

View file

@ -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.