cloudaxe-opencode/packages/www/script/prepare-cloudflare.ts

11 lines
215 B
TypeScript
Raw Permalink Normal View History

2026-07-26 01:15:37 +00:00
export {}
2026-07-26 01:14:47 +00:00
const path = "dist/server/wrangler.json"
const config = await Bun.file(path).json()
delete config.kv_namespaces
delete config.images
delete config.previews
await Bun.write(path, JSON.stringify(config))