From 75a2ec1a2056e2a78cd584393586d35e66c3362a Mon Sep 17 00:00:00 2001 From: Mumtahin Farabi Date: Sun, 18 Aug 2024 19:09:17 -0400 Subject: [PATCH] fix(build): bundler failing due to invalid source path for docs --- src/app/api/search/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/search/route.ts b/src/app/api/search/route.ts index 91bb3f5..bf94aee 100644 --- a/src/app/api/search/route.ts +++ b/src/app/api/search/route.ts @@ -1,5 +1,5 @@ import { createSearchAPI } from 'fumadocs-core/search/server' -import { getPages } from '@/app/source' +import { getPages } from '@/app/docs/source' export const { GET } = createSearchAPI('advanced', { indexes: getPages().map(page => ({