mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
622d1d1d54
commit
16e9dec9b3
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ func listDocTree(c *gin.Context) {
|
|||
}
|
||||
|
||||
p := arg["path"].(string)
|
||||
p = strings.TrimSuffix(p, ".sy")
|
||||
var doctree []*DocFile
|
||||
root := filepath.Join(util.WorkspaceDir, "data", notebook, p)
|
||||
dir, err := os.ReadDir(root)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue