D
D
Dmitry2016-09-20 09:51:11
CMS
Dmitry, 2016-09-20 09:51:11

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

1 answer(s)
W
web-mechanic, 2016-09-20
@amfetamine

check www in the address

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question