code refactoring

This commit is contained in:
2023-05-24 13:31:05 +02:00
parent ac6fe98dc8
commit b1c6f7248c
2 changed files with 4 additions and 1 deletions

View File

@@ -31,6 +31,9 @@ func RunBlocking(port int, frontend fs.FS) {
app.Get("/settings", func(c *fiber.Ctx) error {
return c.Redirect("/")
})
app.Get("/archive", func(c *fiber.Ctx) error {
return c.Redirect("/")
})
app.Get("/downloaded", rest.ListDownloaded)
app.Post("/delete", rest.DeleteFile)