serverless README cleanups, wrangler.toml is gitignored

This commit is contained in:
Brandon Liu
2022-11-23 11:55:57 +08:00
parent 7c1315eeb8
commit 6b36663d10
4 changed files with 18 additions and 58 deletions

View File

@@ -0,0 +1,12 @@
name = "pmtiles-cloudflare"
main = "src/index.ts"
compatibility_date = "2022-10-18"
minify = true
r2_buckets = [
{ binding = "BUCKET", preview_bucket_name = "my-bucket-development", bucket_name = "my-bucket-production" }
]
[vars]
# ALLOWED_ORIGINS = "http://localhost:8000"
# CACHE_MAX_AGE = 86400