all repos — website @ 90691c33d451ce355e803680c4406cc5ab8e8bcc

My website

fix logging logic
Alan Pearce alan@alanpearce.eu
Fri, 19 Apr 2024 07:29:00 +0200
commit

90691c33d451ce355e803680c4406cc5ab8e8bcc

parent

bfacaf987deabe8610bcd47cd0c5780b2c3b339e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M server.goserver.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()]