Skip to content

Commit 70448e5

Browse files
committed
testing
1 parent 3e76bff commit 70448e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internals/proxy/middlewares/endpoints.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ func isBlocked(endpoint string, allowed []string, blocked []string) bool {
4747
}
4848

4949
isExplicitlyBlocked := slices.ContainsFunc(blocked, func(try string) bool {
50+
log.Dev("Checking " + try + " against " + endpoint)
5051
return strings.HasPrefix(endpoint, try)
5152
})
5253

5354
isExplictlyAllowed := slices.ContainsFunc(allowed, func(try string) bool {
55+
log.Dev("Checking " + try + " against " + endpoint)
5456
return strings.HasPrefix(endpoint, try)
5557
})
5658

0 commit comments

Comments
 (0)