Commit Graph

81 Commits

Author SHA1 Message Date
Brandon Liu
5ea9927089 Update README.md 2022-07-30 11:45:10 +08:00
Brandon Liu
5787962dcf Update README.md 2022-07-30 11:39:42 +08:00
Michal Migurski
c4f5a8f8bc 204 responses also need CORS headers 2022-07-28 17:16:42 -07:00
Michal Migurski
354477ae02 Moved CORS headers up to include non-200 responses 2022-07-28 14:19:49 -07:00
Brandon Liu
0557f0e23c lambda function CORS controlled by environment variable 2022-07-28 12:37:50 +08:00
Michal Migurski
f944b6f1c9 Add CORS response header 2022-07-27 11:15:16 -07:00
Brandon Liu
c161c01322 AWS: special case API gateway to always return gzipped data to avoid binary/base64 unwanted behavior. 2022-07-27 00:37:12 +08:00
Brandon Liu
87c47a23fb Update README.md 2022-07-23 13:01:17 +08:00
Brandon Liu
02ac315df6 change API gateway path param to 'proxy' 2022-07-22 00:33:37 +08:00
Brandon Liu
e173ca76f6 Update README.md 2022-07-21 23:44:14 +08:00
Brandon Liu
ae986bbed5 lambda + API Gateway proper path integration; fix exceptions when archive missing 2022-07-21 23:41:44 +08:00
Brandon Liu
a6a0683947 detailed error handling for cloudflare worker 2022-07-21 18:52:05 +08:00
Brandon Liu
fc5e366bd2 cloudflare worker supports PMTILES_PATH 2022-07-21 18:52:05 +08:00
Brandon Liu
95b1f90a04 Revert "cloudflare worker: cache holds promises instead of buffers"
see errors related to "The script will never generate a response."

This reverts commit e0402ded7f.
2022-07-21 10:23:13 +08:00
Brandon Liu
1db1836365 Merge pull request #57 from protomaps/testsuite
improvements to CI test suite
2022-07-20 16:40:27 +08:00
Brandon Liu
be57f1f61d improvements to CI test suite 2022-07-20 16:38:36 +08:00
Brandon Liu
7db048b28c Create README.md 2022-07-20 14:49:34 +08:00
Brandon Liu
bde4a2f75c cloudflare worker: gzip compression support 2022-07-20 13:07:16 +08:00
Brandon Liu
e0402ded7f cloudflare worker: cache holds promises instead of buffers 2022-07-20 13:07:02 +08:00
Brandon Liu
dc85fc60c2 add initial implementation of cloudflare worker 2022-07-19 20:35:05 +08:00
Brandon Liu
3a77103373 move location of cloudflare typedefs 2022-07-19 20:27:40 +08:00
Brandon Liu
983c76e08d copy cloudflare workers type declarations 2022-07-19 11:42:28 +08:00
Brandon Liu
fa97e982e4 Update README.md 2022-07-18 23:06:30 +08:00
Brandon Liu
1570ff0253 lambda version in ZIP; update readme; improve status code responses 2022-07-18 23:01:00 +08:00
Brandon Liu
0a153bf127 refactor tileset to name; preserve pmtiles module ZIP structure 2022-07-18 16:23:04 +08:00
Brandon Liu
2b7f6b6c9f aws lambda has configurable tile_path and pmtiles_path 2022-07-18 16:13:00 +08:00
Brandon Liu
2d96d92925 remove lambda@edge support; use python functools.lru_cache 2022-07-18 12:21:12 +08:00
Brandon Liu
ca90de15e9 fix API Gateway / Lambda function URL response structure 2022-07-13 00:19:22 +08:00
Brandon Liu
1fc57a00ec more AWS notes 2022-07-12 23:49:18 +08:00
Brandon Liu
8a34c6ef31 add Lambda python implementation 2022-07-12 21:19:03 +08:00
Brandon Liu
29ae38b34f add serverless/aws README 2022-07-11 20:26:27 +08:00