Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/kit
/ hooks.server.js
File
hooks.server.js
packages/kit/test/apps/basics/src/hooks.server.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ building, dev } from
'$app/environment'
;
2
import
{ error, isHttpError, redirect } from
'@sveltejs/kit'
;
3
import
{ sequence } from
'@sveltejs/kit/hooks'
;
4
import
fs from
'node:fs'
;
Callers
nothing calls this directly
Calls
6
sequence
Function · 0.90
error
Function · 0.90
redirect
Function · 0.90
getRequestEvent
Function · 0.90
set
Method · 0.80
resolve
Function · 0.50
Tested by
no test coverage detected