From b7bf0a6172a8dcc3cdff2a45b31ee635ebe337d9 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sun, 11 May 2025 17:39:24 +0800 Subject: [PATCH] fix: wrong base url --- web/src/app/infra/http/HttpClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/app/infra/http/HttpClient.ts b/web/src/app/infra/http/HttpClient.ts index 5d5606b5..695134e6 100644 --- a/web/src/app/infra/http/HttpClient.ts +++ b/web/src/app/infra/http/HttpClient.ts @@ -445,8 +445,8 @@ class HttpClient { } // export const httpClient = new HttpClient("https://version-4.langbot.dev"); -export const httpClient = new HttpClient('http://localhost:5300'); -// export const httpClient = new HttpClient('/'); +// export const httpClient = new HttpClient('http://localhost:5300'); +export const httpClient = new HttpClient('/'); // 临时写法,未来两种Client都继承自HttpClient父类,不允许共享方法 export const spaceClient = new HttpClient('https://space.langbot.app');