disable fiber startup message in production
1 file changed, 3 insertions(+), 1 deletion(-)
changed files
M server.go → server.go
@@ -117,7 +117,9 @@ })) website.Use(notFoundHandler) hosts[config.BaseURL.Host] = &Host{website} - toplevel := fiber.New() + toplevel := fiber.New(fiber.Config{ + DisableStartupMessage: config.Production, + }) toplevel.Get("/health", func(c *fiber.Ctx) error { return c.SendStatus(fiber.StatusOK) })