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

skill.ts

14 lines327 Bytes

1import { createFileRoute } from '@tanstack/react-router'
2​
3import { skillMd } from '#/server/skill.ts'
4​
5export const Route = createFileRoute('/skill')({
6 server: {
7 handlers: {
8 GET: () =>
9 new Response(skillMd, {
10 headers: { 'Content-Type': 'text/markdown; charset=utf-8' },
11 }),
12 },
13 },
14})