diff --git a/app/api/search/route.ts b/app/api/search/route.ts deleted file mode 100644 index 74983f9..0000000 --- a/app/api/search/route.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { getPages } from '@/app/source'; -import { createSearchAPI } from 'fumadocs-core/search/server'; - -export const { GET } = createSearchAPI('advanced', { - indexes: getPages().map((page) => ({ - title: page.data.title, - structuredData: page.data.exports.structuredData, - id: page.url, - url: page.url, - })), -});