fix: workspace path to /d/pipeline/workspaces

This commit is contained in:
ymq 2026-08-12 10:48:48 +08:00
parent c8e597764d
commit 5ccaba3505
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ if not uid:
uid = 'user-01'
dbname = get_module_dbname('pipeline-sdlc')
workspace_base = '/home/pipeline/pipeline_ws'
workspace_base = '/d/pipeline/workspaces'
async with DBPools().sqlorContext(dbname) as sor:
# 获取当前项目和工作空间目录

View File

@ -2,7 +2,7 @@
action = (params_kw or {}).get('action', 'read')
filepath = (params_kw or {}).get('path', '').strip()
workspace_base = '/home/pipeline/pipeline_ws'
workspace_base = '/d/pipeline/workspaces'
# 安全检查
if not filepath or not filepath.startswith(workspace_base):