소스 검색

web: revalidate download every minute

Jeffrey Morgan 1 년 전
부모
커밋
1e97807808
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      web/app/download/page.tsx

+ 2 - 0
web/app/download/page.tsx

@@ -3,6 +3,8 @@ import { redirect } from 'next/navigation'
 
 const octokit = new Octokit()
 
+export const revalidate = 60
+
 export default async function Download() {
   const { data } = await octokit.repos.getLatestRelease({
     owner: 'jmorganca',