mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 02:36:10 +01:00
This commit is contained in:
parent
c403842c8b
commit
7092170a6d
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ func exportAsFile(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
name := "export-file-" + file.Filename
|
||||
name := "file-" + file.Filename
|
||||
name = util.FilterFileName(name)
|
||||
tmpDir := filepath.Join(util.TempDir, "export")
|
||||
if err = os.MkdirAll(tmpDir, 0755); nil != err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue