add static

This commit is contained in:
Yanislav Igonin 2022-04-06 00:43:37 +03:00
parent 1720c08625
commit 43bafb2e14

View File

@ -112,6 +112,8 @@ func main() {
} }
app := fiber.New() app := fiber.New()
app.Static("/uploads", "./uploads")
app.Static("/static", "./static")
app.Get("/", func(c *fiber.Ctx) error { app.Get("/", func(c *fiber.Ctx) error {
return c.SendString("get threads") return c.SendString("get threads")