Giter Site home page Giter Site logo

Comments (4)

tanem avatar tanem commented on June 8, 2024

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.

tanem avatar tanem commented on June 8, 2024

Closing due to inactivity.

from svg-injector.

jarretmoses avatar jarretmoses commented on June 8, 2024

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.

tanem avatar tanem commented on June 8, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.