mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Clean code https://github.com/siyuan-note/siyuan/pull/6380
This commit is contained in:
parent
1809c27f60
commit
0bc997051e
2 changed files with 4 additions and 2 deletions
|
|
@ -49,6 +49,8 @@ func serveSnippets(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
}
|
||||
|
||||
// 没有在配置文件中命中时在文件系统上查找
|
||||
filePath = filepath.Join(util.SnippetsPath, filePath)
|
||||
c.File(filePath)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue