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

settlements.ts

11 lines299 Bytes

1import { createFileRoute } from '@tanstack/react-router'
2import { json } from '@tanstack/react-start'
3import { SETTLEMENTS } from '@/features/settlements/data'
4​
5export const Route = createFileRoute('/api/settlements')({
6 server: {
7 handlers: {
8 GET: () => json(SETTLEMENTS),
9 },
10 },
11})