Skip to content

Commit f6a3615

Browse files
authored
fix(console): remove Cloudflare cache config from download fetch (#25804)
1 parent edd480f commit f6a3615

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

packages/console/app/src/routes/download/[channel]/[platform].ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ export async function GET({ params: { platform, channel } }: APIEvent) {
3232

3333
const resp = await fetch(
3434
`https://github.com/anomalyco/${channel === "stable" ? "opencode" : "opencode-beta"}/releases/latest/download/${assetName}`,
35-
{
36-
cf: {
37-
// in case gh releases has rate limits
38-
cacheTtl: 60 * 5,
39-
cacheEverything: true,
40-
},
41-
} as any,
4235
)
4336

4437
const downloadName = downloadNames[platform]

0 commit comments

Comments
 (0)