summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-14 10:41:56 -0600
committermo khan <mo@mokhan.ca>2025-03-14 10:41:56 -0600
commitbd8de4c937c8aff7ca5d812009176828809a2fe6 (patch)
treed580796f39e25e75f7ac335a3956c21b440ded10
parent71056c9d64144d20ee6fe62fca46348d485e87d1 (diff)
fix: combine host and path in logs
-rw-r--r--cmd/gtwy/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gtwy/main.go b/cmd/gtwy/main.go
index 0da2ea8..3563d93 100644
--- a/cmd/gtwy/main.go
+++ b/cmd/gtwy/main.go
@@ -31,7 +31,7 @@ func WithCasbin() authz.Authorizer {
return false
}
- fmt.Printf("%v: %v %v %v\n", ok, r.Method, host, r.URL.Path)
+ fmt.Printf("%v: %v %v%v\n", ok, r.Method, host, r.URL.Path)
return ok
})
}