mirror of
https://github.com/ollama/ollama.git
synced 2025-03-29 11:11:47 +01:00
web: revalidate download every minute
This commit is contained in:
parent
840f87430a
commit
1e97807808
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user