Skip to content

Commit

Permalink
adapt to new account records url Scighost#759
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed May 23, 2024
1 parent 176a089 commit f867e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Starward.Core/SelfQuery/SelfQueryClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public async Task<SelfQueryUserInfo> InitializeAsync(string url, GameBiz gameBiz
{
prefixUrl = "https://hk4e-api.mihoyo.com";
}
if (url.StartsWith("https://webstatic-sea.hoyoverse.com/csc-service-center-fe/index.html"))
if (url.StartsWith("https://cs.hoyoverse.com/csc-service-center-fe/index.html"))
{
prefixUrl = "https://hk4e-api-os.hoyoverse.com";
}
Expand All @@ -93,7 +93,7 @@ public async Task<SelfQueryUserInfo> InitializeAsync(string url, GameBiz gameBiz
{
prefixUrl = "https://api-takumi.mihoyo.com";
}
if (url.StartsWith("https://webstatic-sea.hoyoverse.com/csc-service-center-fe/index.html"))
if (url.StartsWith("https://cs.hoyoverse.com/csc-service-center-fe/index.html"))
{
prefixUrl = "https://api-os-takumi.hoyoverse.com";
}
Expand Down

0 comments on commit f867e96

Please sign in to comment.