summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-12-12 15:18:07 -0500
committerDax Raad <[email protected]>2025-12-12 15:18:07 -0500
commit47c6a2430c10e6306f7708ef35006b6bfba234a5 (patch)
tree8fdda67a9a0363ad196240e95b4fa7e0298dacc6
parent909013320b84e461a36619b03c22d0d7800695ee (diff)
downloadopencode-47c6a2430c10e6306f7708ef35006b6bfba234a5.tar.gz
opencode-47c6a2430c10e6306f7708ef35006b6bfba234a5.zip
sync
-rw-r--r--packages/console/app/src/routes/download/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/console/app/src/routes/download/index.tsx b/packages/console/app/src/routes/download/index.tsx
index 2616b7ea1..f1717d50a 100644
--- a/packages/console/app/src/routes/download/index.tsx
+++ b/packages/console/app/src/routes/download/index.tsx
@@ -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()