feat: add index with information about available endpoint

This commit is contained in:
2023-07-20 08:42:04 +02:00
parent ff67907407
commit dd4765b306
3 changed files with 91 additions and 1 deletions

View File

@@ -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 {