Support overseas genAuthKey

This commit is contained in:
xtaodada 2023-09-11 19:32:44 +08:00
parent ca9e577ea6
commit 69f2a7b025
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -245,7 +245,10 @@ WEB_ACCOUNT_URL = InternationalRoute(
chinese="https://webapi.account.mihoyo.com/Api/",
)
AUTH_KEY_URL = InternationalRoute(overseas="", chinese="https://api-takumi.mihoyo.com/binding/api/genAuthKey")
AUTH_KEY_URL = InternationalRoute(
overseas="https://sg-public-api.hoyoverse.com/binding/api/genAuthKey",
chinese="https://api-takumi.mihoyo.com/binding/api/genAuthKey",
)
HK4E_LOGIN_URL = InternationalRoute(
overseas="https://sg-public-api.hoyoverse.com/common/badge/v1/login/account",