fonts pbf and cors #4655
Replies: 1 comment 1 reply
-
You'll need to check it by yourself as this is not a maplibre issue. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I work with Maplibre, with several vector layers, and among these layers, I have a layer with glyphs. I translate these fonts in pbf (ttf to pbf) and I have this problem "Access to fetch.... from origin ... has blocked by Cors Policy". Cors are enabled on my app, as Maplibre ask it. I have an .htaccess with header :
Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE,OPTIONS" Header set Access-Control-Allow-Headers "Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"
Until yesterday, these fonts worked, but I deleted the fonts directory on my server (mistake from me). I recreated this directory and they are no longer work.
I don't know why it doesn't work.
Thank you for your help
Sylvain BECQUAERT
Beta Was this translation helpful? Give feedback.
All reactions