Skip to content

Commit

Permalink
fix: remove re-decleare dynamic
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Dec 5, 2023
1 parent 43714c6 commit 4086c32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/app/feed/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ interface RSSProps {
}[]
}

export const dynamic = 'force-dynamic'

export async function GET() {
const ReactDOM = (await import('react-dom/server')).default
const queryClient = getQueryClient()
Expand Down
3 changes: 1 addition & 2 deletions src/app/sitemap/route.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { getQueryClient } from '~/lib/query-client.server'
import { apiClient } from '~/lib/request'

export const dynamic = 'force-dynamic'
export const revalidate = 60 * 60 // 1 hour
export const dynamic = 'force-dynamic'
export const revalidate = 60 * 60 // 1 hour
export const GET = async () => {
const queryClient = getQueryClient()

Expand Down

0 comments on commit 4086c32

Please sign in to comment.