Improved filebrowser (#52)

* file archive refactor, list dir perf optimization

* code refactoring
This commit is contained in:
Marco
2023-05-26 11:10:10 +02:00
committed by GitHub
parent 8cf130ec23
commit 5b70d25bef
7 changed files with 120 additions and 96 deletions

View File

@@ -42,7 +42,8 @@ func RunBlocking(port int, frontend fs.FS) {
return c.Redirect("/")
})
app.Get("/downloaded", rest.ListDownloaded)
app.Post("/downloaded", rest.ListDownloaded)
app.Post("/delete", rest.DeleteFile)
app.Get("/play", rest.PlayFile)