Skip to content

Commit

Permalink
fix: use getServerSideProps (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guga Gongadze authored Nov 27, 2023
1 parent 7284c45 commit 9af3cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/releases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface Release {
published_at: string
}

export const getStaticProps = async () => {
export const getServerSideProps = async () => {
const response = await axios(`https://api.github.com/repos/shuttle-hq/shuttle/releases`)

return {
Expand Down

1 comment on commit 9af3cc7

@vercel
Copy link

@vercel vercel bot commented on 9af3cc7 Nov 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.