about summary refs log tree commit diff stats
path: root/server.go
diff options
context:
space:
mode:
authorAlan Pearce2024-04-19 07:29:00 +0200
committerAlan Pearce2024-04-19 07:29:00 +0200
commit90691c33d451ce355e803680c4406cc5ab8e8bcc (patch)
tree798d0471f86d7a9bf545b13f13461c85e4219ffc /server.go
parentbfacaf987deabe8610bcd47cd0c5780b2c3b339e (diff)
downloadwebsite-90691c33d451ce355e803680c4406cc5ab8e8bcc.tar.lz
website-90691c33d451ce355e803680c4406cc5ab8e8bcc.tar.zst
website-90691c33d451ce355e803680c4406cc5ab8e8bcc.zip
fix logging logic
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
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()]