@aiyiran/myclaw 1.0.211 → 1.0.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -50,8 +50,7 @@
|
|
|
50
50
|
// ═══ 构建预览 URL ═══
|
|
51
51
|
function buildPreviewUrl(data, assetPath) {
|
|
52
52
|
var wsName = data.workspace_id || 'main';
|
|
53
|
-
|
|
54
|
-
return window.location.origin + '/cmd/api/preview?path=' + wsPrefix + '/' + assetPath;
|
|
53
|
+
return window.location.origin + '/' + wsName + '/' + assetPath;
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
// ═══ 创建按钮 ═══
|