Comments (4)
Hi @heijmerikx. Looks like that PR was only required for old IE, and as a consequence was never merged.
Do you have any more info around the issues you're having? In particular any CORS error output from the browser console might be useful.
This library is a dependency of react-svg, and there are a few issue threads there that may be of relevance. In particular, this comment talks about CloudFront.
from svg-injector.
Closing due to inactivity.
from svg-injector.
I seem to have started to have this issue myself out of nowhere.
Access to XMLHttpRequest at 'https://dx9cuinpc4lhh.cloudfront.net/bike-room.svg' from origin 'https://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I am using react-svg. Ive been able to load these in the past fine. I have not touched any settings on my cdn for a while. Any insight? Looks to be specific to chrome based browsers.
from svg-injector.
@jarretmoses is this still an issue for you?
I see Access-Control-Allow-Origin: *
when I run curl -H "origin: example.com" -v "https://dx9cuinpc4lhh.cloudfront.net/bike-room.svg"
.
from svg-injector.
Related Issues (18)
- Sometimes svg is not injected HOT 1
- Accessing original element in beforeEach HOT 5
- Fallback at httpRequest.responseXML instanceof Document check HOT 5
- Wrong clipPath ids - uniqueId not set properly on clip-path style attribute HOT 1
- renumerateIRIElements for path defs HOT 10
- SVG sprite support
- Dependency Dashboard
- Class name is not set correctly HOT 5
- Injecting from `<img>` should takes its attributes HOT 14
- Element is the wrong type for SVG? HOT 4
- Dynamically change color of SVG with JS HOT 6
- cannot install - not in the registry HOT 7
- Action Required: Fix Renovate Configuration
- Cache only if successful response HOT 5
- Cookie: token value is not adding while image call HOT 1
- Can't import in browser HOT 3
- IE11 support HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svg-injector.