mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Sync repo
This commit is contained in:
parent
8f4aa20f2d
commit
8a587c23e2
8 changed files with 25 additions and 21 deletions
|
|
@ -208,7 +208,7 @@ func serveAssets(ginServer *gin.Engine) {
|
|||
dir := context.Param("dir")
|
||||
name := context.Param("name")
|
||||
relativePath := path.Join(dir, "assets", name)
|
||||
p := filepath.Join(util.WorkspaceDir, "history", relativePath)
|
||||
p := filepath.Join(util.HistoryDir, relativePath)
|
||||
http.ServeFile(context.Writer, context.Request, p)
|
||||
return
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue