mirror of
https://github.com/Fasthei/taiji-pda-v0.git
synced 2026-09-26 21:21:55 +00:00
合并并同步云端 API_BASE_URLS
This commit is contained in:
+2
-2
@@ -1,13 +1,13 @@
|
||||
// API client for Taiji AI Platform
|
||||
// Base URLs for different services
|
||||
import { getAuthToken, clearAllTokens } from "@/lib/auth"
|
||||
|
||||
export const API_BASE_URLS = {
|
||||
dataIngestion: process.env.NEXT_PUBLIC_DATA_INGESTION_URL || "http://apimtaiji.azure-api.net/api/data-ingestion",
|
||||
mcpServer: process.env.NEXT_PUBLIC_MCP_SERVER_URL || "http://apimtaiji.azure-api.net/api/mcp",
|
||||
gateway: process.env.NEXT_PUBLIC_API_GATEWAY_URL || "http://apimtaiji.azure-api.net/api/",
|
||||
}
|
||||
|
||||
import { getAuthToken, clearAllTokens } from "@/lib/auth"
|
||||
|
||||
// Helper function to get API key
|
||||
function getApiKey(): string | null {
|
||||
if (typeof window !== "undefined") {
|
||||
|
||||
Reference in New Issue
Block a user