File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,6 @@ import { createFromSource } from 'fumadocs-core/search/server'
2
2
3
3
import { source } from '@/lib/source'
4
4
5
- export const { GET } = createFromSource ( source )
5
+ export const revalidate = false
6
+
7
+ export const { staticGET : GET } = createFromSource ( source )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default ({ children }: Readonly<PropsWithChildren>) => (
17
17
< link href = "https://github.com/moeru-ai.png" rel = "icon" type = "image/png" />
18
18
</ head >
19
19
< body className = "flex flex-col min-h-screen" >
20
- < RootProvider > { children } </ RootProvider >
20
+ < RootProvider search = { { options : { type : 'static' } } } > { children } </ RootProvider >
21
21
</ body >
22
22
</ html >
23
23
)
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ const withMDX = createMDX()
4
4
5
5
/** @type {import('next').NextConfig } */
6
6
const config = {
7
+ output : 'export' ,
7
8
reactStrictMode : true ,
8
9
serverExternalPackages : [ 'typescript' , 'twoslash' ] ,
9
10
}
You can’t perform that action at this time.
0 commit comments