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:
parent
d6a1edaee1
commit
a86709a4cd
3 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 () => [
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue