Update README.md

This commit is contained in:
Brandon Liu
2022-11-12 22:38:16 +08:00
committed by GitHub
parent 79c87fb04a
commit a645710410

View File

@@ -12,7 +12,7 @@ Publish the worker: `npm run deploy`
# Settings # Settings
By default, your worker will serve tiles at path `NAME/0/0/0.pbf` using the archive at the root of your bucket `NAME.pmtiles`. By default, your worker will serve tiles at path `NAME/0/0/0.EXT` using the archive at the root of your bucket `NAME.pmtiles`, where EXT is one of `mvt`, `png`, `jpg` or `webp` depending on the tileset.
This behavior can be customized with optional environment variables: This behavior can be customized with optional environment variables:
@@ -20,4 +20,4 @@ This behavior can be customized with optional environment variables:
# Using the Workers web editor # Using the Workers web editor
Generate the Workers script using `npm run build` and copy `dist/index.js` to the editor. Generate the Workers script using `npm run build` and copy `dist/index.js` to the editor.