From 691ef1c77d5c7d32a1e49deecc9f907488470600 Mon Sep 17 00:00:00 2001 From: goulustis Date: Fri, 13 Mar 2026 13:44:58 +0800 Subject: [PATCH] not edit my computer --- frontend/src/api/frontApis.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/api/frontApis.ts b/frontend/src/api/frontApis.ts index ad60428..a0e3883 100644 --- a/frontend/src/api/frontApis.ts +++ b/frontend/src/api/frontApis.ts @@ -19,8 +19,7 @@ import type { RuntimeAuthInfoResponse, } from "../types"; -const API_BASE_URL = - import.meta.env.VITE_FRONT_API_BASE_URL?.trim() || "http://127.0.0.1:8500"; +const API_BASE_URL = import.meta.env.VITE_FRONT_API_BASE_URL?.trim() || "/"; export function joinApiUrl(baseUrl: string, path: string): string { const normalizedPath = path.startsWith("/") ? path : `/${path}`;