design: plan browser runtime extraction

This commit is contained in:
lix-2026
2026-05-24 21:03:33 +08:00
parent cafd29a963
commit b61b56b5b5
6 changed files with 936 additions and 0 deletions
+4
View File
@@ -94,6 +94,10 @@ pub fn build_router(state: AppState) -> Router {
"/api/editor/image-placeholder.svg",
get(web_shell::editor_image_placeholder_asset),
)
.route(
"/api/mnote-browser-runtime/resource-open-runtime.js",
get(web_shell::resource_open_runtime_asset),
)
.route("/api/search/documents", post(search::documents))
.route(
"/api/search/local-index/refresh",