delete button works, server returns 302 over 301 so browser cache is less bad, ui sorts filetree alpha by title

This commit is contained in:
Bel LaPointe
2022-02-16 08:49:45 -07:00
parent e025f3835a
commit 51bd874063
4 changed files with 24 additions and 11 deletions

View File

@@ -312,7 +312,7 @@ func (server *Server) uiSubTemplates() (*template.Template, error) {
}
func (server *Server) rootHandler(w http.ResponseWriter, r *http.Request) error {
http.Redirect(w, r, "/ui/files/"+uuid.New().String()[:5], 301)
http.Redirect(w, r, "/ui/files/"+uuid.New().String()[:5], 302)
return nil
}