mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +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:
1 file changed
+9
-6
+9
-6
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user