code refactoring

This commit is contained in:
2023-05-26 15:10:23 +02:00
parent 985629fd2e
commit 58b05e1403
3 changed files with 5 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ func RunBlocking(port int, frontend fs.FS) {
app.Post("/downloaded", rest.ListDownloaded)
app.Post("/delete", rest.DeleteFile)
app.Get("/play", rest.PlayFile)
app.Get("/d/:id", rest.SendFile)
// RPC handlers
// websocket