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

This commit is contained in:
Daniel 2024-01-04 21:41:30 +08:00
parent 092a16b50b
commit 785ca83fa0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}