Use YAML as configuration file; fix a download failure issue with QQ Music. (Reason: QQ Music API changed)

This commit is contained in:
real-zony
2022-03-18 19:51:08 +08:00
parent d1c50323b1
commit 2b0b14cd7a
30 changed files with 136 additions and 171 deletions

View File

@@ -34,8 +34,8 @@ namespace ZonyLrcTools.Tests.Infrastructure.Network
public async Task GetAsyncWithProxy_Test()
{
var option = ServiceProvider.GetRequiredService<IOptions<ToolOptions>>();
option.Value.NetworkOptions.ProxyIp = "127.0.0.1";
option.Value.NetworkOptions.ProxyPort = 4780;
option.Value.NetworkOptions.Ip = "127.0.0.1";
option.Value.NetworkOptions.Port = 4780;
var client = ServiceProvider.GetRequiredService<IWarpHttpClient>();