Initial commit

This commit is contained in:
root
2025-03-17 21:28:08 +01:00
commit fe19bc8505
58 changed files with 7202 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
use axum::Router;
use tower_http::services::ServeDir;
use std::path::PathBuf;
/// Creates web routes for serving static files
pub fn create_web_routes() -> Router {
Router::new()
.fallback_service(
ServeDir::new(PathBuf::from("static"))
)
}