Commit 1e978078 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

web: revalidate download every minute

parent 840f8743
...@@ -3,6 +3,8 @@ import { redirect } from 'next/navigation' ...@@ -3,6 +3,8 @@ import { redirect } from 'next/navigation'
const octokit = new Octokit() const octokit = new Octokit()
export const revalidate = 60
export default async function Download() { export default async function Download() {
const { data } = await octokit.repos.getLatestRelease({ const { data } = await octokit.repos.getLatestRelease({
owner: 'jmorganca', owner: 'jmorganca',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment