protomaps / docs

Technical documentation for the Protomaps ecosystem
https://docs.protomaps.com
33 stars 15 forks source link

Cloudflare instructions and screenshots out of date #3

Closed bdon closed 1 day ago

bdon commented 11 months ago

Name is now worker.js

Lewiscowles1986 commented 10 months ago

Note: cloudflare docs. Is it https://github.com/protomaps/docs/blob/255c5c9/deploy/cloudflare.md?

Note: Minified code seems to be output from build process to https://protomaps.github.io/PMTiles/index.js

bdon commented 10 months ago

I had a todo to disable that minification: https://github.com/protomaps/PMTiles/pull/290 that's done now.

Lewiscowles1986 commented 10 months ago

Well done you, 50% complete

https://developers.cloudflare.com/pages/platform/functions/bindings/ doesn't say anything about worker.js; but now the source is minified, I do see it's default export is some form of url handler. Thing is that it looks different to those examples, so I can't help but wonder if I'm looking in the wrong place.

bdon commented 1 day ago

Resolved by #58