From 911902353f8bd65d374e88a801e531ae73d9b34f Mon Sep 17 00:00:00 2001 From: Nicolas Thumann Date: Sun, 14 Jan 2024 21:03:12 +0100 Subject: [PATCH] fix: Allow binding IPv6 addresses for web (#650) Co-authored-by: TwiN --- api/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/api.go b/api/api.go index 08bbca9d..532be382 100644 --- a/api/api.go +++ b/api/api.go @@ -40,6 +40,7 @@ func (a *API) createRouter(cfg *config.Config) *fiber.App { log.Printf("[api.ErrorHandler] %s", err.Error()) return fiber.DefaultErrorHandler(c, err) }, + Network: fiber.NetworkTCP, }) if os.Getenv("ENVIRONMENT") == "dev" { app.Use(cors.New(cors.Config{