sandbox-web-ide/backend/storage/wrangler.example.toml

20 lines
483 B
TOML
Raw Permalink Normal View History

#:schema node_modules/wrangler/config-schema.json
name = "storage"
main = "src/index.ts"
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]
# Fill in the account ID from the Cloudflare dashboard below.
account_id = ""
workers_dev = true
# Deploy an R2 bucket from the Cloudflare dashboard and fill in bucket_name.
[[r2_buckets]]
binding = 'R2'
bucket_name = ''
preview_bucket_name = ''
2024-05-26 18:37:36 -07:00
# KEY is required but can be set to any secret string.
2024-05-26 18:37:36 -07:00
[vars]
KEY = ''