mirror of
https://github.com/yanislav-igonin/micrach
synced 2025-04-20 03:40:33 +03:00
add static
This commit is contained in:
parent
1720c08625
commit
43bafb2e14
2
main.go
2
main.go
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user