Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

start.ts

8 lines233 Bytes

1import { clerkMiddleware } from '@clerk/tanstack-react-start/server'
2import { createStart } from '@tanstack/react-start'
3​
4export const startInstance = createStart(() => {
5 return {
6 requestMiddleware: [clerkMiddleware()],
7 }
8})