From 67f318888d2ea4ad5f047a0f9616d556db82b1fa Mon Sep 17 00:00:00 2001 From: p Date: Thu, 13 Aug 2026 16:56:56 +0800 Subject: [PATCH] workspace: open use entire_url for xterm trigger --- wwwroot/api/workspace_open.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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},