feat: Add frontend routing and asset handling with Axum

This commit is contained in:
GW_MC
2026-04-18 07:30:37 +00:00
parent da0ab29b2a
commit e2d364722b
3 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
use axum::Router;
mod frontend;
pub async fn get_root_router() -> Router {
Router::new()
.merge(frontend::get_router().await)
.fallback(frontend::get_fallback_handler().await)
}