From b5bba18200728fb8dd2be7e5c8aa859316faf192 Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Tue, 10 Feb 2026 01:58:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B7=AF=E5=BE=84=E6=8B=BC=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Services/Web/MaaApiService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/Services/Web/MaaApiService.cs b/src/MaaWpfGui/Services/Web/MaaApiService.cs index 15328b20e3..3d7918a802 100644 --- a/src/MaaWpfGui/Services/Web/MaaApiService.cs +++ b/src/MaaWpfGui/Services/Web/MaaApiService.cs @@ -45,7 +45,7 @@ public class MaaApiService : IMaaApiService private async Task TryRequest(string api, string baseUrl, bool allowFallbackToCache = true) { var url = baseUrl + api; - var cache = CacheDir + api; + var cache = Path.Combine(CacheDir, api); var response = await ETagCache.FetchResponseWithEtag(url, !File.Exists(cache)); if (response == null)