From 1eeca606ec813f516e6a362d6b5f21374c384012 Mon Sep 17 00:00:00 2001 From: GW_MC <72297530+GWMCwing@users.noreply.github.com> Date: Sat, 18 Apr 2026 08:37:08 +0000 Subject: [PATCH] feat: Remove debug handler attributes from fallback and file handler functions --- apps/nxmesh-master/src/routes/frontend/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/nxmesh-master/src/routes/frontend/mod.rs b/apps/nxmesh-master/src/routes/frontend/mod.rs index 84baf96..9f677c4 100644 --- a/apps/nxmesh-master/src/routes/frontend/mod.rs +++ b/apps/nxmesh-master/src/routes/frontend/mod.rs @@ -27,7 +27,6 @@ pub async fn get_router() -> Router { .fallback(get_fallback_handler().await) } -#[cfg_attr(debug_assertions, axum::debug_handler)] pub async fn get_fallback_handler() -> Result>, axum::http::StatusCode> { let index_html = get_index_html(); @@ -41,7 +40,6 @@ fn get_index_html() -> Option> { FrontendAssets::get(INDEX_HTML).map(|asset| asset.data.as_ref().to_owned()) } -#[cfg_attr(debug_assertions, axum::debug_handler)] async fn get_file_handler( axum::extract::Path(path): axum::extract::Path, ) -> Result {