Skip to content

Commit

Permalink
fix: fixed bg api link (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
krypt0nn committed Nov 28, 2024
1 parent 5c4bb43 commit 57faf6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub fn get_background_info() -> anyhow::Result<Background> {

let uri = match expected_edition {
GameEdition::China => concat!("https://hyp-api.", "mi", "ho", "yo", ".com/hyp/hyp-connect/api/getAllGameBasicInfo?launcher_id=jGHBHlcOq1"),
_ => concat!("https://sg-hyp-api.", "ho", "yo", "verse", ".com/hyp/hyp-connect/api/getAllGameBasicInfo?launcher_id=jGHBHlcOq1")
_ => concat!("https://sg-hyp-api.", "ho", "yo", "verse", ".com/hyp/hyp-connect/api/getAllGameBasicInfo?launcher_id=VYTpXlbWo8")
};

let json = serde_json::from_slice::<serde_json::Value>(minreq::get(uri).send()?.as_bytes())?;
Expand Down

0 comments on commit 57faf6a

Please sign in to comment.