mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 12:40:57 +01:00
Changes:
- added describe command - fixed v4+v6 handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user