From be7873862766dce8f7f124a1d65a78470a6f5822 Mon Sep 17 00:00:00 2001 From: nilsk Date: Tue, 21 Jul 2026 13:21:03 +0200 Subject: [PATCH] add API endpoint for sharing files through share sheet --- runtime/src/runtime_api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/runtime_api.rs b/runtime/src/runtime_api.rs index 94bea961..ae3d0774 100644 --- a/runtime/src/runtime_api.rs +++ b/runtime/src/runtime_api.rs @@ -38,6 +38,7 @@ pub fn start_runtime_api() { .route("/system/qdrant-edge/delete-file", post(crate::qdrant_edge_database::delete_qdrant_edge_embedding_by_file)) .route("/system/qdrant-edge/delete-store", post(crate::qdrant_edge_database::delete_qdrant_edge_store)) .route("/clipboard/set", post(crate::clipboard::set_clipboard)) + .route("/share/file", post(crate::share_sheet::share_file)) .route("/events", get(crate::app_window::get_event_stream)) .route("/updates/check", get(crate::app_window::check_for_update)) .route("/updates/install", get(crate::app_window::install_update))