From a4620f60dbc410571dd920448349a1cee7390f5b Mon Sep 17 00:00:00 2001 From: alemi Date: Sun, 10 Nov 2024 22:08:35 +0100 Subject: [PATCH] fix(web): must include url_base --- web/src/objects/view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/objects/view.rs b/web/src/objects/view.rs index d1dfb59..b4e12f3 100644 --- a/web/src/objects/view.rs +++ b/web/src/objects/view.rs @@ -55,7 +55,7 @@ pub fn ObjectView() -> impl IntoView { fn crawl(base: String, auth: Auth) { spawn_local(async move { - if let Err(e) = Http::fetch::(&format!("{base}/replies?fetch=true"), auth).await { + if let Err(e) = Http::fetch::(&format!("{URL_BASE}{base}/replies?fetch=true"), auth).await { tracing::error!("failed crawling replies for {base}: {e}"); } });