You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Production stylesheets refer to localhost and GitHub Pages #992
OK, so we need to clarify with @tsinn what he needs that caused him to change those URLs -- I suspect some things for editing in Maputnik -- and what Eric/NPM process needs to deploy as expected
Activity
erictheise commentedon Mar 25, 2025
This was not ready for deployment to production.
erictheise commentedon Mar 25, 2025
OpenHistoricalMap/map-styles@6f42659 restored the
openhistoricalmap.github.ioreference in railway.danrademacher commentedon Mar 26, 2025
OK, so we need to clarify with @tsinn what he needs that caused him to change those URLs -- I suspect some things for editing in Maputnik -- and what Eric/NPM process needs to deploy as expected
Rub21 commentedon Mar 27, 2025
in the latest release OpenHistoricalMap/ohm-deploy#502, The localhost error in the map style persists. It’s also unclear which vtiles service is using the map style. For example, in production, there is a mix that includes staging vtiles services.

https://www.openhistoricalmap.org/map-styles/historical/historical.json
I implemented a temporal solution to solve it https://github.com/OpenHistoricalMap/ohm-deploy/blob/staging/images/web/start.sh#L105-L109, which is working fine now.
https://staging.openhistoricalmap.org/map-styles/historical/historical.json

Rub21 commentedon Mar 27, 2025
railway , woodblock and japanese_scroll is still using
openhistoricalmap.github.ioRub21 commentedon Mar 27, 2025
Currently https://www.openhistoricalmap.org/map-styles/historical/historical.json load the sprite and glyphs from the same domain,

but some applications do not support redirects.
For example, loading https://openhistoricalmap.org/map-styles/historical/historical_spritesheet in OSMCha doesn’t work because it still redirects to https://www.openhistoricalmap.org/map-styles/historical/historical_spritesheet.
Therefore, the canonical domain must be set correctly in the map-style.
Rub21 commentedon Apr 22, 2025
This been completed!!