Update README.md

This commit is contained in:
Brandon Liu
2022-07-23 13:01:17 +08:00
committed by GitHub
parent 02ac315df6
commit 87c47a23fb

View File

@@ -19,7 +19,7 @@ Configure these Lambda environment variables:
* Example path setting for objects in a directory: `my_folder/{name}/file.pmtiles` * Example path setting for objects in a directory: `my_folder/{name}/file.pmtiles`
* `TILE_PATH`: optional, define the URL route of the tiles API. Default `/{name}/{z}/{x}/{y}.pbf` * `TILE_PATH`: optional, define the URL route of the tiles API. Default `/{name}/{z}/{x}/{y}.pbf`
For API Gateway integration, your Lambda Proxy Integration route will need to specify a greedy capturing parameter called `proxy` e.g. `/{proxy+}` (the default) For API Gateway integration, your Lambda Proxy Integration route will need to specify a greedy capturing parameter called `proxy` e.g. `/{proxy+}` (the default). Also, your binary content types setting for REST APIs needs to be set to `*/*` otherwise tiles will be returned as base64-encoded text.
## Test Event ## Test Event