fix(web): /dbg is now /proxy

This commit is contained in:
əlemi 2024-05-20 07:19:00 +02:00
parent d7ebb2f95e
commit aca757a266
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -25,7 +25,7 @@ pub fn DebugPage() -> impl IntoView {
None => set_object.set(Arc::new(serde_json::Value::String("not in cache!".into()))), None => set_object.set(Arc::new(serde_json::Value::String("not in cache!".into()))),
} }
} else { } else {
let url = format!("{URL_BASE}/dbg?id={fetch_url}"); let url = format!("{URL_BASE}/proxy?id={fetch_url}");
spawn_local(async move { set_object.set(Arc::new(debug_fetch(&url, auth).await)) }); spawn_local(async move { set_object.set(Arc::new(debug_fetch(&url, auth).await)) });
} }
} > } >