Skip to content

Commit fe684ab

Browse files
authored
Change auth servers reachable check URL (#4830)
1 parent 8592761 commit fe684ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app-lib/src/api/minecraft_auth.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ use crate::util::fetch::REQWEST_CLIENT;
99
#[tracing::instrument]
1010
pub async fn check_reachable() -> crate::Result<()> {
1111
let resp = REQWEST_CLIENT
12-
.get("https://api.minecraftservices.com/entitlements/mcstore")
12+
.get("https://sessionserver.mojang.com/session/minecraft/hasJoined")
1313
.send()
1414
.await?;
15-
if resp.status() == StatusCode::UNAUTHORIZED {
15+
if resp.status() == StatusCode::NO_CONTENT {
1616
return Ok(());
1717
}
1818
resp.error_for_status()?;

0 commit comments

Comments
 (0)