refactor: split document session runtime
This commit is contained in:
@@ -154,6 +154,10 @@ pub fn build_router(state: AppState) -> Router {
|
||||
"/api/mnote-browser-runtime/document-resource-tab-runtime.js",
|
||||
get(web_shell::document_resource_tab_runtime_asset),
|
||||
)
|
||||
.route(
|
||||
"/api/mnote-browser-runtime/document-session-runtime.js",
|
||||
get(web_shell::document_session_runtime_asset),
|
||||
)
|
||||
.route(
|
||||
"/api/mnote-browser-runtime/document-slash-position-runtime.js",
|
||||
get(web_shell::document_slash_position_runtime_asset),
|
||||
@@ -582,6 +586,7 @@ mod tests {
|
||||
"/api/mnote-browser-runtime/document-pane-runtime.js",
|
||||
"/api/mnote-browser-runtime/document-mindmap-host-runtime.js",
|
||||
"/api/mnote-browser-runtime/document-resource-tab-runtime.js",
|
||||
"/api/mnote-browser-runtime/document-session-runtime.js",
|
||||
"/api/mnote-browser-runtime/document-slash-position-runtime.js",
|
||||
"/api/mnote-browser-runtime/document-tiptap-conversion-runtime.js",
|
||||
"/api/mnote-browser-runtime/document-editor-adapter-runtime.js",
|
||||
|
||||
Reference in New Issue
Block a user