浏览代码

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

Daniel 1 年之前
父节点
当前提交
785ca83fa0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/model/export.go

+ 1 - 1
kernel/model/export.go

@@ -169,7 +169,7 @@ func ExportAv2CSV(avID string) (zipPath string, err error) {
 	if nil != removeErr {
 	if nil != removeErr {
 		logging.LogErrorf("remove export folder [%s] failed: %s", exportFolder, 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
 	return
 }
 }