mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 20:49:55 +00:00
core: pin downloads to v1.4.3 to ensure users get a tested, stable build instead of potentially unstable latest releases
This commit is contained in:
parent
d215188e4c
commit
ddad871b46
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ export async function GET({ params: { platform, channel } }: APIEvent) {
|
|||
if (!assetName) return new Response(null, { status: 404 })
|
||||
|
||||
const resp = await fetch(
|
||||
`https://github.com/anomalyco/${channel === "stable" ? "opencode" : "opencode-beta"}/releases/latest/download/${assetName}`,
|
||||
`https://github.com/anomalyco/${channel === "stable" ? "opencode" : "opencode-beta"}/releases/download/v1.4.3/${assetName}`,
|
||||
{
|
||||
cf: {
|
||||
// in case gh releases has rate limits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue