Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/start-server-core/src/createStartHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export function createStartHandler<TRegister = Register>(
getRouter,
request,
executeRouter,
context,
})

return response
Expand Down Expand Up @@ -343,6 +344,7 @@ async function handleServerRoutes({
getRouter,
request,
executeRouter,
context,
}: {
getRouter: () => Awaitable<AnyRouter>
request: Request
Expand All @@ -351,6 +353,7 @@ async function handleServerRoutes({
}: {
serverContext: any
}) => Promise<Response>
context: any
}) {
const router = await getRouter()
let url = new URL(request.url)
Expand Down Expand Up @@ -410,7 +413,7 @@ async function handleServerRoutes({

const ctx = await executeMiddleware(middlewares, {
request,
context: {},
context,
params: routeParams,
pathname,
})
Expand Down
Loading