MCPcopy Create free account
hub / github.com/TanStack/db / serve

Function serve

examples/react/projects/src/routes/api/auth/$.ts:4–6  ·  view source on GitHub ↗
({ request }: { request: Request })

Source from the content-addressed store, hash-verified

2import { auth } from '@/lib/auth'
3
4const serve = ({ request }: { request: Request }) => {
5 return auth.handler(request)
6}
7
8export const Route = createFileRoute(`/api/auth/$`)({
9 server: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected