fix: 路径拼接

This commit is contained in:
uye
2026-02-10 01:58:41 +08:00
parent 8537612c37
commit b5bba18200

View File

@@ -45,7 +45,7 @@ public class MaaApiService : IMaaApiService
private async Task<JObject?> 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)