Fix OSM Liberty sprite and glyph paths for /web hosting.
CI / test (push) Successful in 5s

Use relative sprite URLs and a working glyph endpoint so MapLibre no longer requests missing /web/styles/* or /web/assets/fonts/* resources.

Made-with: Cursor
This commit is contained in:
2026-03-02 22:05:05 +00:00
parent 0c76e867ae
commit cd63ea142f
+2 -2
View File
@@ -35,8 +35,8 @@
"encoding": "mapbox"
}
},
"sprite": "styles/osm-liberty-gl-style/sprites/osm-liberty",
"glyphs": "assets/fonts/map-fonts/{fontstack}/{range}.pbf",
"sprite": "./sprites/osm-liberty",
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",