Categories
How to properly configure CORS?
If you add 'www.' to the site URL , then the browser does not load the fonts . I tried but it didn't help I got the following error in the console: header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Origin: *");
Answer the question
In order to leave comments, you need to log in
header("Access-Control-Allow-Origin: *"); registered in php for sure, and then the web server gives the font.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question