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 })
|
if (!assetName) return new Response(null, { status: 404 })
|
||||||
|
|
||||||
const resp = await fetch(
|
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: {
|
cf: {
|
||||||
// in case gh releases has rate limits
|
// in case gh releases has rate limits
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue