使用localhost请求

This commit is contained in:
陈国伟 2021-11-18 13:01:50 +08:00
parent c0b329e21d
commit 16d03784e7

View File

@ -73,7 +73,7 @@ namespace FastGithub.UI
private async Task FlushFlowStatisticsAsync(HttpClient httpClient)
{
var response = await httpClient.GetAsync("http://127.0.0.1/flowStatistics");
var response = await httpClient.GetAsync("http://localhost/flowStatistics");
var json = await response.EnsureSuccessStatusCode().Content.ReadAsStringAsync();
var flowStatistics = JsonConvert.DeserializeObject<FlowStatistics>(json);
if (flowStatistics == null)