Improved filebrowser (#52)
* file archive refactor, list dir perf optimization * code refactoring
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user