chore(config): make R2 payload binding optional

Comment out the PAYLOAD bucket binding so deploys do not require R2;
the worker already falls back to KV queue:payload:* when env.PAYLOAD is unset.
This commit is contained in:
RhenCloud 2026-08-17 15:09:24 +08:00
parent 25ebae4ae5
commit 9eeafb8c15
No known key found for this signature in database
GPG key ID: A574A617378C4E0B

View file

@ -25,12 +25,15 @@
"id": "a471e264837d4f51b077e078022f0cf0"
},
],
"r2_buckets": [
{
"binding": "PAYLOAD",
"bucket_name": "webhooker-payloads",
}
],
// Optional: R2 for oversized payloads. Uncomment after enabling R2 and running
// `bunx wrangler r2 bucket create webhooker-payloads`. Without this binding the
// worker falls back to KV `queue:payload:*`.
// "r2_buckets": [
// {
// "binding": "PAYLOAD",
// "bucket_name": "webhooker-payloads",
// }
// ],
"d1_databases": [
{
"binding": "DB",