Skip to content

Commit 4086c32

Browse files
committed
fix: remove re-decleare dynamic
Signed-off-by: Innei <[email protected]>
1 parent 43714c6 commit 4086c32

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/app/feed/route.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ interface RSSProps {
2929
}[]
3030
}
3131

32-
export const dynamic = 'force-dynamic'
33-
3432
export async function GET() {
3533
const ReactDOM = (await import('react-dom/server')).default
3634
const queryClient = getQueryClient()

src/app/sitemap/route.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { getQueryClient } from '~/lib/query-client.server'
22
import { apiClient } from '~/lib/request'
33

4-
export const dynamic = 'force-dynamic'
5-
export const revalidate = 60 * 60 // 1 hour
64
export const dynamic = 'force-dynamic'
5+
export const revalidate = 60 * 60 // 1 hour
76
export const GET = async () => {
87
const queryClient = getQueryClient()
98

0 commit comments

Comments
 (0)