diff --git a/wwwroot/api/workspace_open.dspy b/wwwroot/api/workspace_open.dspy index 15117eb..eaae780 100644 --- a/wwwroot/api/workspace_open.dspy +++ b/wwwroot/api/workspace_open.dspy @@ -51,7 +51,7 @@ file_url = entire_url("/pipeline-sdlc/api/workspace_file.dspy") + "?id=" + quote # 1. 文本/源码 → Wterm + vi 编辑 if ext in text_exts: - ws_url = websocket_url("/wss/pipeline-sdlc/workspace_edit.xterm") + "?id=" + quote(file_id) + ws_url = entire_url("/wss/pipeline-sdlc/workspace_edit.xterm") + "?id=" + quote(file_id) return { "widgettype": "PopupWindow", "options": {"title": name + " (vi 编辑)", "width": "85%", "height": "85%", "auto_open": True},