cloudflare workers: ext and mime type based on header [#58]

This commit is contained in:
Brandon Liu
2022-10-19 10:01:11 +08:00
parent 14c26d15fe
commit 150252601e
2 changed files with 34 additions and 3 deletions

View File

@@ -6,7 +6,9 @@ Use [rclone](https://rclone.org/downloads/) to upload your PMTiles archives to a
Edit `wrangler.toml` with a new name + your development and production R2 buckets.
Publish the worker: `npm deploy`
Test in development: `npm run start`
Publish the worker: `npm run deploy`
# Settings