refactor: externalize tree shell runtime

This commit is contained in:
lix-2026
2026-05-25 00:05:30 +08:00
parent f2a7de9896
commit c3fbadb456
5 changed files with 4733 additions and 4606 deletions
+4
View File
@@ -106,6 +106,10 @@ pub fn build_router(state: AppState) -> Router {
"/api/mnote-browser-runtime/tree-live-controller.js",
get(web_shell::tree_live_controller_runtime_asset),
)
.route(
"/api/mnote-browser-runtime/tree-shell-runtime.js",
get(web_shell::tree_shell_runtime_asset),
)
.route("/api/search/documents", post(search::documents))
.route(
"/api/search/local-index/refresh",