- added describe command
- fixed v4+v6 handling
This commit is contained in:
2023-03-09 20:24:20 +01:00
parent 01a0dc054d
commit d6792dd6c8
15 changed files with 215 additions and 21 deletions

View File

@@ -76,6 +76,10 @@ func Runserver(conf *cfg.Config, args []string) error {
api.Get("/list/", auth, func(c *fiber.Ctx) error {
return List(c, conf, db)
})
api.Get("/upload/:id/", auth, func(c *fiber.Ctx) error {
return Describe(c, conf, db)
})
}
// public routes