Skip to content

Commit

Permalink
fix: fetch with revalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Nov 24, 2023
1 parent 612285f commit 14aca9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fetches/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const fetchGithubStats = async (login: string): Promise<string> => {
Accept: 'application/json',
'Content-Type': 'image/svg+xml',
},
next: {revalidate: 3600},
};

try {
Expand Down

1 comment on commit 14aca9b

@vercel
Copy link

@vercel vercel bot commented on 14aca9b Nov 24, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

github-stats – ./

github-stats-git-main-hyochan.vercel.app
github-stats-hyochan.vercel.app
stats.hyochan.dev
stats.dooboo.io

Please sign in to comment.