mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +08:00
d1d1c6f890
Move files deployments to Wrangler, make CLI and desktop own their publishing destinations, add direct-download update metadata and desktop feeds, and refresh installation docs.
21 lines
689 B
JSON
21 lines
689 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "opencode-files",
|
|
"main": "src/index.ts",
|
|
"compatibility_date": "2026-08-01",
|
|
"workers_dev": false,
|
|
"preview_urls": false,
|
|
"env": {
|
|
"dev": {
|
|
"name": "opencode-dev-files",
|
|
"routes": [{ "pattern": "dev.opencode.ai/files/*", "zone_name": "opencode.ai" }],
|
|
"r2_buckets": [{ "binding": "FILES", "bucket_name": "opencode-dev-files" }],
|
|
},
|
|
"production": {
|
|
"name": "opencode-production-files",
|
|
"routes": [{ "pattern": "opencode.ai/files/*", "zone_name": "opencode.ai" }],
|
|
"r2_buckets": [{ "binding": "FILES", "bucket_name": "opencode-production-files" }],
|
|
},
|
|
},
|
|
}
|