|
@@ -1,8 +1,5 @@
|
|
|
-import { Octokit } from '@octokit/rest'
|
|
|
import { redirect } from 'next/navigation'
|
|
|
|
|
|
-const octokit = new Octokit()
|
|
|
-
|
|
|
export default async function Download() {
|
|
|
const res = await fetch('https://api.github.com/repos/jmorganca/ollama/releases', { next: { revalidate: 60 } })
|
|
|
const data = await res.json()
|