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/public/[token]/route.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createLogger } from
'@sim/logger'
2
import
{ getErrorMessage } from
'@sim/utils/errors'
3
import
type
{ NextRequest } from
'next/server'
4
import
{ NextResponse } from
'next/server'
Callers
nothing calls this directly
Calls
12
createLogger
Function · 0.90
withRouteHandler
Function · 0.90
generateRequestId
Function · 0.90
enforcePublicFileRateLimit
Function · 0.90
parseRequest
Function · 0.90
resolveActiveShareByToken
Function · 0.90
validateDeploymentAuth
Function · 0.90
getErrorMessage
Function · 0.90
setDeploymentAuthCookie
Function · 0.90
error
Method · 0.80
info
Method · 0.80
set
Method · 0.65
Tested by
no test coverage detected