O
O
Oleg Maksimov2017-04-04 09:38:21
Google Chrome
Oleg Maksimov, 2017-04-04 09:38:21

Error when working with svg sprites svg4everybody.js. Is there a solution?

If you run gulp on a local server or via openserver, then there is no error and all icons are displayed.
If you run just an index file, then the icons are not loaded, an error appears
Unsafe attempt to load URL file:///path to the SVG sprite from frame with URL file:////path to index.html. 'file:' URLs are treated as unique security origins.
the error appears in Google Chrome in FireFox it is not.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question