feat: add index with information about available endpoint
This commit is contained in:
@@ -138,7 +138,7 @@ func (s *RestServer) loadViews(imagesDir string) {
|
||||
s.app.Static("/images", imagesDir)
|
||||
|
||||
s.app.Get("/", func(c *fiber.Ctx) error {
|
||||
return c.Render("upload", fiber.Map{})
|
||||
return c.Render("index", fiber.Map{})
|
||||
})
|
||||
|
||||
s.app.Get("/error", func(c *fiber.Ctx) error {
|
||||
|
||||
Reference in New Issue
Block a user