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