Update src/main.rs
All checks were successful
Build and Test / cache-mii (push) Successful in 3m40s

This commit is contained in:
redbinder0526 2026-08-09 22:02:01 +02:00
commit c268f84d55

View file

@ -76,7 +76,7 @@ async fn request_mii_render(client: &State<Client>, mii_data: &str, path: &str)
#[rocket::get("/<pid>/<path>")]
pub async fn mii_render(pid: i32, path: &str, client: &State<Client>) -> Result<NamedFile, (Status, String)> {
let mii_data = {
let route = format!("https://account.spfn.net/api/v2/users/{pid}/mii");
let route = format!("https://account.spbr.net/api/v2/users/{pid}/mii");
let response = client.get(route)
.send()
.await;