使用localhost请求
This commit is contained in:
parent
c0b329e21d
commit
16d03784e7
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user