diff --git a/src/Starward.Core/SelfQuery/SelfQueryClient.cs b/src/Starward.Core/SelfQuery/SelfQueryClient.cs index aace139d9..7f3de97ec 100644 --- a/src/Starward.Core/SelfQuery/SelfQueryClient.cs +++ b/src/Starward.Core/SelfQuery/SelfQueryClient.cs @@ -89,11 +89,11 @@ public async Task InitializeAsync(string url, GameBiz gameBiz } if (gameBiz.ToGame() is GameBiz.StarRail) { - if (url.StartsWith("https://webstatic.mihoyo.com/csc-service-center-fe/index.html")) + if (url.StartsWith("https://webstatic.mihoyo.com/csc-service-center-fe/index.html") || url.StartsWith("https://webstatic.mihoyo.com/static/mihoyo-new-csc-service-hall-fe/index.html")) { prefixUrl = "https://api-takumi.mihoyo.com"; } - if (url.StartsWith("https://cs.hoyoverse.com/csc-service-center-fe/index.html")) + if (url.StartsWith("https://cs.hoyoverse.com/csc-service-center-fe/index.html") || url.StartsWith("https://cs.hoyoverse.com/static/hoyoverse-new-csc-service-hall-fe/index.html")) { prefixUrl = "https://public-operation-hkrpg-sg.hoyoverse.com"; }