Skip to content
4 linesCodeBlameRaw

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.

A file named test.js or spec.rb counts as a test: confidence no longer says tests not added when they were1/** Who is asking, for identity's rate limits: the visitor's address. */
2export 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.