fix logging logic
Alan Pearce alan@alanpearce.eu
Fri, 19 Apr 2024 07:29:00 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M server.go → server.go
@@ -127,7 +127,7 @@ toplevel.Use(skip.New(logger.New(logger.Config{ 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()]