Skip to content

Commit

Permalink
Merge pull request #220 from wowtrack/main
Browse files Browse the repository at this point in the history
Revert "fix: updated oauth hosts according battlenet api docs."
  • Loading branch information
danjagnow committed Apr 25, 2024
2 parents 89e21a5 + 01a442b commit c896493
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ArgentPonyWarcraftClient/Client/WarcraftClient.cs
Expand Up @@ -266,8 +266,11 @@ private static string GetOAuthHost(Region region)
{
return region switch
{
Region.China => "https://oauth.battlenet.com.cn",
_ => "https://oauth.battle.net"
Region.China => "https://www.battlenet.com.cn",
Region.Europe => "https://eu.battle.net",
Region.Korea => "https://kr.battle.net",
Region.Taiwan => "https://apac.battle.net",
_ => "https://us.battle.net",
};
}
}

0 comments on commit c896493

Please sign in to comment.