Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Merge branch 'worktree-agent-a633ac0f7f66d419d' | 1 | /** Who is asking, for identity's rate limits: the visitor's address. */ |
| 2 | export function clientKey(request: Request): string | null { | |
| 3 | return request.headers.get("cf-connecting-ip") ?? request.headers.get("x-forwarded-for")?.split(",")[0]?.trim() ?? null; | |
| 4 | } |
This file's history is long; its oldest lines are credited to the oldest commit read.