Explorar o código

fix: pass base prefix in web report router call (compile break)

Alexander Korolev hai 1 mes
pai
achega
1db84cef5c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/web/mod.rs

+ 1 - 0
src/web/mod.rs

@@ -206,6 +206,7 @@ pub fn router(app: AppState) -> Router {
         crate::report::html_page_at(&rows, "/recipes"),
         serde_json::to_string(&rows).unwrap_or_default(),
         false,
+        "/recipes",
     )
     .layer(middleware::from_fn_with_state(app.clone(), token_guard));
     Router::new()