Added static serving

This commit is contained in:
2026-03-30 20:34:27 +02:00
parent 42f9b974b2
commit a8a2b3f95a
5 changed files with 90 additions and 7 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import (
)
func Setup(app *fiber.App) {
app.Use(func(c fiber.Ctx) error {
app.Use("/api", func(c fiber.Ctx) error {
c.Set("Content-Type", "application/json")
return c.Next()
})