预览服务重新把 .export 列为受保护目录

- preview.rs 两处受保护组件列表补回 .export(导出目录由 exports 改名时遗漏),避免 .export/taonier.json 等导出元数据被本地预览读取返回
This commit is contained in:
2026-10-07 13:57:56 +08:00
parent 0f127dbc70
commit 5df27afed3
@@ -1107,6 +1107,7 @@ fn canonical_preview_path(root: &Path, file_path: &Path) -> Result<PathBuf, Stri
".git",
".codex",
".hermes",
".export",
"node_modules",
"memory",
"target",
@@ -1151,6 +1152,7 @@ fn canonical_preview_path(root: &Path, file_path: &Path) -> Result<PathBuf, Stri
".git",
".codex",
".hermes",
".export",
"memory",
"node_modules",
"target",