mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
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:
parent
25ebae4ae5
commit
9eeafb8c15
1 changed files with 9 additions and 6 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue