workspace: open use entire_url for xterm trigger
This commit is contained in:
parent
e19f5c5a2e
commit
67f318888d
@ -51,7 +51,7 @@ file_url = entire_url("/pipeline-sdlc/api/workspace_file.dspy") + "?id=" + quote
|
|||||||
|
|
||||||
# 1. 文本/源码 → Wterm + vi 编辑
|
# 1. 文本/源码 → Wterm + vi 编辑
|
||||||
if ext in text_exts:
|
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 {
|
return {
|
||||||
"widgettype": "PopupWindow",
|
"widgettype": "PopupWindow",
|
||||||
"options": {"title": name + " (vi 编辑)", "width": "85%", "height": "85%", "auto_open": True},
|
"options": {"title": name + " (vi 编辑)", "width": "85%", "height": "85%", "auto_open": True},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user