fix: progress route :uuid → :file_uuid (consistency with API docs)

This commit is contained in:
Accusys
2026-05-14 17:58:57 +08:00
parent 11f690ca35
commit b5215f13e3

View File

@@ -2620,7 +2620,7 @@ pub async fn start_server(host: &str, port: u16) -> anyhow::Result<()> {
.route("/api/v1/file/:file_uuid/process", post(trigger_processing))
.route("/api/v1/file/:file_uuid/chunk/:chunk_id", get(get_chunk_by_path))
.route("/api/v1/progress/:uuid", get(get_progress))
.route("/api/v1/progress/:file_uuid", get(get_progress))
.route("/api/v1/jobs", get(list_jobs))
.route("/api/v1/config/cache", post(cache_toggle))
// .merge(person_identity::person_identity_routes()) // V4.0: DISABLED (person_identities table removed)