From 90691c33d451ce355e803680c4406cc5ab8e8bcc Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 19 Apr 2024 07:29:00 +0200 Subject: fix logging logic --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 793345d..0681a34 100644 --- a/server.go +++ b/server.go @@ -127,7 +127,7 @@ func main() { Output: law.NewWriteAsyncer(os.Stdout, nil), Format: "${protocol} ${method} ${status} ${host} ${url} ${respHeader:Location}\n", }), func(c *fiber.Ctx) bool { - return c.Hostname() != "fly-internal" + return c.Hostname() == "fly-internal" })) toplevel.Use(func(c *fiber.Ctx) error { host := hosts[c.Hostname()] -- cgit 1.4.1