mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-25 06:35:35 +00:00
sync
This commit is contained in:
parent
9abbd74a51
commit
0d6eba5392
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import { Legal } from "~/component/legal"
|
|||
import { config } from "~/config"
|
||||
|
||||
const getLatestRelease = query(async () => {
|
||||
"use server"
|
||||
const response = await fetch("https://api.github.com/repos/sst/opencode/releases/latest")
|
||||
if (!response.ok) return null
|
||||
const data = await response.json()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue