Answer the question
In order to leave comments, you need to log in
How to fix Unsafe attempt to load URL error when including SVG?
When connecting an SVG sprite, the image does not appear, and the following outputs in the console: "Unsafe attempt to load URL...from frame with URL....'file:' URLs are treated as unique security origins. " . Never encountered this before. How can this be fixed?
I connect the SVG itself inside the document
<svg>
<use xlink:href="..img/svg/svg-symbols.svg#instagram"></use>
</svg>
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