Closed 1ec5 closed 4 months ago
The following forks reference zelonewolf.github.io in generate-style.js, which causes them to break when loading style.json:
To fix this issue, you can either cherry-pick the changes here or manually replace https://zelonewolf.github.io/openstreetmap-americana
with the URL to your own fork’s deployed site.
Replaced references to zelonewolf.github.io with americanamap.org. Although zelonewolf.github.io currently redirects to americanamap.org, Mapbox GL JS and MapLibre GL JS are apparently unable to follow the redirect due to a CORS error. This doesn’t affect the main deployed application, but it does affect anyone who uses the published style.json. Every fork of this repository will need to make a similar change.