Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / apps/web/lib/analytics-proxy.ts |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | apps/web/lib/analytics-proxy.ts |
| Original SHA-256 | 2da0555180d598af7ca759ab63d3aa719596d0ca79c0a450b859515b13a480a2 |
| Git blob SHA | d3cdfe64336df369f8d97032e93a272912c96f80 |
| Reading-copy SHA-256 | 2da0555180d598af7ca759ab63d3aa719596d0ca79c0a450b859515b13a480a2 |
Recovered source transcript
Download complete source text ↓11 lines · 0.4 KB
/**
* Returns whether the pathname targets an analytics proxy endpoint that should
* bypass standard auth-adjacent middleware checks.
*
* @param pathname - Request pathname to classify
* @returns True when the pathname is handled by OpenPanel proxying
*/
export function isAnalyticsProxyPath(pathname: string): boolean {
return pathname === '/track' || pathname.startsWith('/track/') || pathname.startsWith('/api/op/')
}