Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
317615fd
Commit
317615fd
authored
Jul 11, 2023
by
Jeffrey Morgan
Browse files
web: remove unused code
parent
a3ec1ec2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
web/app/download/page.tsx
web/app/download/page.tsx
+0
-3
No files found.
web/app/download/page.tsx
View file @
317615fd
import
{
Octokit
}
from
'
@octokit/rest
'
import
{
redirect
}
from
'
next/navigation
'
import
{
redirect
}
from
'
next/navigation
'
const
octokit
=
new
Octokit
()
export
default
async
function
Download
()
{
export
default
async
function
Download
()
{
const
res
=
await
fetch
(
'
https://api.github.com/repos/jmorganca/ollama/releases
'
,
{
next
:
{
revalidate
:
60
}
})
const
res
=
await
fetch
(
'
https://api.github.com/repos/jmorganca/ollama/releases
'
,
{
next
:
{
revalidate
:
60
}
})
const
data
=
await
res
.
json
()
const
data
=
await
res
.
json
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment