Skip to content

Commit

Permalink
πŸ› Fix unexpected page caching (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
wei authored Dec 20, 2024
1 parent 31fef0c commit 5ac566c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-moles-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"socialify": patch
---

Fix unexpected page caching
2 changes: 2 additions & 0 deletions app/[_owner]/[_name]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { JSX } from 'react'

import MainRenderer from '@/src/components/mainRenderer'

export const runtime = 'edge'

export default function PreviewConfigPage(): JSX.Element {
return <MainRenderer />
}
2 changes: 2 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { JSX } from 'react'

import Repo from '@/src/components/repo/repo'

export const runtime = 'edge'

export default function HomePage(): JSX.Element {
return <Repo />
}

0 comments on commit 5ac566c

Please sign in to comment.