The open source coding agent.
TypeScript
console: reduce desktop download cache ttl to 5 minutes
Brendan Allanbc557e828d15
diff --git a/packages/console/app/src/routes/download/[platform].ts b/packages/console/app/src/routes/download/[platform].tsindex d8b72aba101..2c30a803623 100644--- a/packages/console/app/src/routes/download/[platform].ts+++ b/packages/console/app/src/routes/download/[platform].ts@@ -24,7 +24,7 @@ export async function GET({ params: { platform } }: APIEvent) {const resp = await fetch(`https://github.com/anomalyco/opencode/releases/latest/download/${assetName}`, {cf: {// in case gh releases has rate limits- cacheTtl: 60 * 60 * 24,+ cacheTtl: 60 * 5,cacheEverything: true,},} as any)