Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: documentation search

Blue Mouse02872e5c4363
diff --git a/docs/app/api/search/route.ts b/docs/app/api/search/route.ts
new file mode 100644
index 000000000..41fe0f779
--- /dev/null
+++ b/docs/app/api/search/route.ts
@@ -0,0 +1,6 @@
+import { source } from "@/lib/source";
+import { createFromSource } from "fumadocs-core/search/server";
+
+export const revalidate = false;
+
+export const { GET } = createFromSource(source);