From b21a4c7e31ff8fbb3c74cb04f87c09124285ded2 Mon Sep 17 00:00:00 2001 From: mycodedoesnotcompile2 <149587341+mycodedoesnotcompile2@users.noreply.github.com> Date: Tue, 3 Jun 2025 18:15:27 +0000 Subject: [PATCH 1/2] Update api.go --- api/api.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/api.go b/api/api.go index 70c224c..9785320 100644 --- a/api/api.go +++ b/api/api.go @@ -22,6 +22,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine AppName: "Katbox", DisableStartupMessage: true, Views: engine, + Network: "tcp", }) // static file server @@ -48,4 +49,4 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine log.Warn("Server shutdown Failed: ", err) } wg.Done() -} \ No newline at end of file +} From 20e2679dbd61cd485a78b04f48e44fd1d7145704 Mon Sep 17 00:00:00 2001 From: mycodedoesnotcompile2 <149587341+mycodedoesnotcompile2@users.noreply.github.com> Date: Tue, 3 Jun 2025 18:15:57 +0000 Subject: [PATCH 2/2] Update api.go --- api/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/api.go b/api/api.go index 9785320..2abc710 100644 --- a/api/api.go +++ b/api/api.go @@ -16,6 +16,7 @@ import ( ) 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{ StreamRequestBody: true, ServerHeader: "Katbox",