This commit is contained in:
mycodedoesnotcompile2 2025-06-03 18:17:31 +00:00 committed by GitHub
commit c146c36c53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,12 +16,14 @@ import (
) )
func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine, fs http.FileSystem) { func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine, fs http.FileSystem) {
// more Fiber options at https://docs.gofiber.io/api/fiber/
app := fiber.New(fiber.Config{ app := fiber.New(fiber.Config{
StreamRequestBody: true, StreamRequestBody: true,
ServerHeader: "Katbox", ServerHeader: "Katbox",
AppName: "Katbox", AppName: "Katbox",
DisableStartupMessage: true, DisableStartupMessage: true,
Views: engine, Views: engine,
Network: "tcp",
}) })
// static file server // static file server