Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ route.ts
File
route.ts
apps/sim/app/api/files/serve/[...path]/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ readFile } from
'fs/promises'
2
import
{ createLogger } from
'@sim/logger'
3
import
type
{ NextRequest } from
'next/server'
4
import
{ NextResponse } from
'next/server'
Callers
nothing calls this directly
Calls
15
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
inferContextFromKey
Function · 0.90
isUsingCloudStorage
Function · 0.90
checkSessionOrInternalAuth
Function · 0.90
createErrorResponse
Function · 0.90
handleCloudProxyPublic
Function · 0.85
handleLocalFilePublic
Function · 0.85
handleCloudProxy
Function · 0.85
info
Method · 0.80
join
Method · 0.80
parse
Method · 0.80
Tested by
no test coverage detected