tree is now filetree based
This commit is contained in:
@@ -212,7 +212,7 @@ func (server *Server) rootHandler(w http.ResponseWriter, r *http.Request) error
|
||||
}
|
||||
|
||||
func (server *Server) tree() *Tree {
|
||||
return NewTree(path.Join(server.root, "tree.yaml"))
|
||||
return NewTree(path.Dir(server.diskFilePath("id")))
|
||||
}
|
||||
|
||||
func (server *Server) diskFilePath(id string) string {
|
||||
|
||||
Reference in New Issue
Block a user