Update filesystem structure

This commit is contained in:
Pixeldrain-Server committed 2023-04-11 23:44:50 +02:00
1 parent 9b451b37ea
commit 971a0fe539
8 files changed
+58 -48

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ func (wc *WebController) serveDirectory(w http.ResponseWriter, r *http.Request,
return
}
td.Title = fmt.Sprintf("%s ~ pixeldrain", node.Base.Name)
td.Title = fmt.Sprintf("%s ~ pixeldrain", node.Path[node.BaseIndex].Name)
td.Other = node
err = wc.templates.Get().ExecuteTemplate(w, "filesystem", td)
if err != nil && !strings.Contains(err.Error(), "broken pipe") {