diff options
author | Alan Pearce | 2024-04-19 07:29:00 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-19 07:29:00 +0200 |
commit | 90691c33d451ce355e803680c4406cc5ab8e8bcc (patch) | |
tree | 798d0471f86d7a9bf545b13f13461c85e4219ffc /server.go | |
parent | bfacaf987deabe8610bcd47cd0c5780b2c3b339e (diff) | |
download | website-90691c33d451ce355e803680c4406cc5ab8e8bcc.tar.lz website-90691c33d451ce355e803680c4406cc5ab8e8bcc.tar.zst website-90691c33d451ce355e803680c4406cc5ab8e8bcc.zip |
fix logging logic
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 2 |
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()] |