summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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()