diff options
Diffstat (limited to 'src/app/api/search')
| -rw-r--r-- | src/app/api/search/route.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/app/api/search/route.ts b/src/app/api/search/route.ts deleted file mode 100644 index 3c99f5c..0000000 --- a/src/app/api/search/route.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { getPosts } from '@/lib/source'; -import { createSearchAPI } from 'fumadocs-core/search/server'; - -export const { GET } = createSearchAPI('advanced', { - indexes: getPosts().map((page) => ({ - title: page.data.title, - structuredData: page.data.structuredData, - id: page.url, - url: page.url, - })), -}); |
