amical/apps/www/app/api/search/route.ts
2025-06-28 11:04:55 +05:30

7 lines
229 B
TypeScript

import { source } from "@/lib/source";
import { createFromSource } from "fumadocs-core/search/server";
// it should be cached forever
export const revalidate = false;
export const { staticGET: GET } = createFromSource(source);