fix webdav

This commit is contained in:
DioCrafts
2025-04-04 22:00:29 +02:00
parent ba3ef2a530
commit cdf7fb9913
@@ -48,7 +48,7 @@ pub fn webdav_routes() -> Router<AppState> {
// Create the router with a single catchall route // Create the router with a single catchall route
// This will internally dispatch to the appropriate method handler // This will internally dispatch to the appropriate method handler
Router::new() Router::new()
.route("/webdav/*path", axum::routing::any(handle_webdav_methods)) .route("/webdav/{*path}", axum::routing::any(handle_webdav_methods))
} }
async fn handle_webdav_methods( async fn handle_webdav_methods(