mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
@@ -3,11 +3,16 @@ main = "src/index.ts"
|
|||||||
compatibility_date = "2024-09-02"
|
compatibility_date = "2024-09-02"
|
||||||
minify = false
|
minify = false
|
||||||
|
|
||||||
r2_buckets = [
|
# R2 bucket bindings; adjust names for dev vs prod buckets.
|
||||||
{ binding = "BUCKET", preview_bucket_name = "my-bucket-development", bucket_name = "my-bucket-production" }
|
[[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]
|
[vars]
|
||||||
# change to https://example.com, etc. to limit CORS origins
|
# change to https://example.com, etc. to limit CORS origins
|
||||||
ALLOWED_ORIGINS = "*"
|
ALLOWED_ORIGINS = "*"
|
||||||
# CACHE_CONTROL = "public, max-age=86400"
|
# CACHE_CONTROL = "public, max-age=86400"
|
||||||
|
|||||||
Reference in New Issue
Block a user