mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
fix: 路径拼接
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user