Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question