Answer the question
In order to leave comments, you need to log in
Why is font awesome not included?
Hello. The installed Opencart template does not include fontawesome.
Throws error:
Request from foreign origin blocked: Single origin policy prevents reading remote resource at os/catalog/view/javascript/font-awesome/fonts/font... (Reason: missing CORS header 'Access-Control-Allow-Origin' ).
Tell me how to fix?
Found this: enable-cors.org/server_apache.html
You need to add a line:
Header set Access-Control-Allow-Origin "*"
But I don't understand exactly where to add it (To add the CORS authorization to the header using Apache, simply add the following line inside either the , , or sections of your server config (usually located in a *.conf file, such as httpd. conf or apache.conf), or within a .htaccess file)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question