My Special Font

Add your suggestions for improving Poker Mavens
sands
Posts: 14
Joined: Fri Jan 15, 2016 4:09 pm

Re: My Special Font

Post by sands »

Access to font at 'https://mydomain/fonts/sandimt.TTF' from origin 'https://mydomain:2087' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

my font don't load and i have this error for load font
i use cloudflare https how can i fix this error and load my font again?
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: My Special Font

Post by Kent Briggs »

Does this happen in all browsers or just one in particular? My guess is that your browser is treating your web server as being on a different domain than the poker server because of the different ports (80 vs 2087). Try letting Poker Mavens serve your font files instead of IIS. You do this by setting System tab -> Web Settings -> Web folder to the location of those font files. Then the path will be something like https://mydomain:2087/sandimt.TTF. Any file request that Poker Mavens doesn't recognize, it will look for in that web folder.
Post Reply