Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gan-Xing/CodexBridge
/ isApiPath
Function
isApiPath
apps/web/proxy.ts:19–21 ·
view source on GitHub ↗
(pathname: string)
Source
from the content-addressed store, hash-verified
17
}
18
19
function
isApiPath(pathname: string) {
20
return
pathname.startsWith(
'/api/'
);
21
}
22
23
export
async
function
proxy(request: NextRequest) {
24
const
{ pathname } = request.nextUrl;
Callers
1
proxy
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected