Forráskód Böngészése

fix(console): remove Cloudflare cache config from download fetch (#25804)

Brendan Allan 3 hónapja
szülő
commit
f6a3615f59

+ 0 - 7
packages/console/app/src/routes/download/[channel]/[platform].ts

@@ -32,13 +32,6 @@ export async function GET({ params: { platform, channel } }: APIEvent) {
 
   const resp = await fetch(
     `https://github.com/anomalyco/${channel === "stable" ? "opencode" : "opencode-beta"}/releases/latest/download/${assetName}`,
-    {
-      cf: {
-        // in case gh releases has rate limits
-        cacheTtl: 60 * 5,
-        cacheEverything: true,
-      },
-    } as any,
   )
 
   const downloadName = downloadNames[platform]