Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ isCrossSiteSessionRequest
Function
isCrossSiteSessionRequest
apps/sim/lib/core/security/same-origin.ts:21–23 ·
view source on GitHub ↗
(req: NextRequest)
Source
from the content-addressed store, hash-verified
19
* the credit and execution rate-limit gates.
20
*/
21
export
function
isCrossSiteSessionRequest(req: NextRequest): boolean {
22
return
req.headers.get(
'sec-fetch-site'
) ===
'cross-site'
23
}
Callers
2
same-origin.test.ts
File · 0.90
handleExecutePost
Function · 0.90
Calls
1
get
Method · 0.65
Tested by
no test coverage detected