Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Database block supports export as CSV https://github.com/siyuan-note/siyuan/issues/10072

Daniel785ca83fa08b
diff --git a/kernel/model/export.go b/kernel/model/export.go
index 118c37f87b..4b06ac064a 100644
--- a/kernel/model/export.go
+++ b/kernel/model/export.go
@@ -169,7 +169,7 @@ func ExportAv2CSV(avID string) (zipPath string, err error) {
if nil != removeErr {
logging.LogErrorf("remove export folder [%s] failed: %s", exportFolder, removeErr)
}
- zipPath = "/export/" + url.PathEscape(filepath.Base(zipPath))
+ zipPath = "/export/csv/" + url.PathEscape(filepath.Base(zipPath))
return
}