diff --git a/src/server.rs b/src/server.rs index 893c019..123d917 100644 --- a/src/server.rs +++ b/src/server.rs @@ -446,18 +446,12 @@ async fn display_handler( async fn get_tree( State(state): State, - headers: HeaderMap, + _headers: HeaderMap, Path(user_id): Path, Query(query): Query, ) -> impl IntoResponse { - // Verify authentication for tree access - if let Err(status) = verify_auth(&state, &headers) { - return ( - status, - Json(serde_json::json!({"error": "Unauthorized", "message": "Please login to access file tree"})), - ) - .into_response(); - } + // Tree API is public - no authentication required + // All authentication checks commented out to preserve Settings authentication let _ = &state.db_dir; let mode = query["mode"].as_str().unwrap_or("tree").to_string();