mirror of
https://github.com/ollama/ollama.git
synced 2025-07-28 18:33:16 +02:00
web: revalidate download every minute
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user