Skip to content

Commit

Permalink
editoast: front: use the fonts served by editoast in the maps
Browse files Browse the repository at this point in the history
Signed-off-by: Tristram Gräbener <[email protected]>
  • Loading branch information
Tristramg committed Feb 13, 2025
1 parent 59f20c0 commit 2bd29b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/common/Map/Layers/blankStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const useMapBlankStyle = (): MapProps['mapStyle'] => {
name: 'Blank',
sources: {},
sprite,
glyphs: 'https://static.osm.osrd.fr/fonts/{fontstack}/{range}.pbf',
glyphs: `${window.location.origin}${baseURL}/fonts/{fontstack}/{range}.pbf`,
layers: [
{
id: 'emptyBackground',
Expand Down

0 comments on commit 2bd29b5

Please sign in to comment.