7 lines
229 B
TypeScript
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);
|