mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
19 lines
536 B
Plaintext
19 lines
536 B
Plaintext
name = "pmtiles-cloudflare"
|
|
main = "src/index.ts"
|
|
compatibility_date = "2024-09-02"
|
|
minify = false
|
|
|
|
# R2 bucket bindings; adjust names for dev vs prod buckets.
|
|
[[r2_buckets]]
|
|
# Alias used in the worker (env.BUCKET)
|
|
binding = "BUCKET"
|
|
# Bucket used when running `wrangler dev`
|
|
preview_bucket_name = "my-bucket-development-name"
|
|
# Bucket used on `wrangler deploy`
|
|
bucket_name = "my-bucket-production-name"
|
|
|
|
[vars]
|
|
# change to https://example.com, etc. to limit CORS origins
|
|
ALLOWED_ORIGINS = "*"
|
|
# CACHE_CONTROL = "public, max-age=86400"
|