From 793f0a9c1035e40077cce4b01567a1c9c73f2225 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sun, 8 Jun 2025 17:34:32 +0800 Subject: [PATCH] fix: 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 4fb21042..ce6e1bfc 100644 --- a/web/src/app/infra/http/HttpClient.ts +++ b/web/src/app/infra/http/HttpClient.ts @@ -495,8 +495,8 @@ class HttpClient { } // export const httpClient = new HttpClient('https://event-log.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');