Git Product home page Git Product logo

Comments (10)

etdte avatar etdte commented on May 30, 2024 1

I will take a look at that.

from ui-avatars.

LasseRafn avatar LasseRafn commented on May 30, 2024 1

I've found the solution. Apparently allowing Nginx to serve the cached file using X-Accel-Redirect will remove a lot of headers. Fix is live.

from ui-avatars.

LasseRafn avatar LasseRafn commented on May 30, 2024

Thanks! πŸ™ I have a feeling it may be related to the recent switch to Cloudflare? But they say they do support Access-Control-Allow-Origin headers

from ui-avatars.

etdte avatar etdte commented on May 30, 2024

@LasseRafn,100% sure it related to Cloudflare. Double checked everything on local setup, headers are returned correctly.

from ui-avatars.

divyanshjain217 avatar divyanshjain217 commented on May 30, 2024

I'm also facing this issue, access-control-allow-origin header is not returned as response

from ui-avatars.

vishalgwalani avatar vishalgwalani commented on May 30, 2024

Stuck on the same issue, please add access-control-allow-origin header
Screen Shot 2019-06-21 at 6 12 28 PM

from ui-avatars.

LasseRafn avatar LasseRafn commented on May 30, 2024

Problem is that we're already passing this, but Cloudflare is stripping it for some reason

from ui-avatars.

LasseRafn avatar LasseRafn commented on May 30, 2024

The following is passed:

header( 'Access-Control-Allow-Origin: *' );
header( 'Access-Control-Allow-Credentials: true' );
header( 'Access-Control-Allow-Methods: GET, OPTIONS' );
header( 'Access-Control-Max-Age: 3600' );
header( 'Access-Control-Allow-Headers: Content-Type, Accept, X-Requested-With, remember-me' );

from ui-avatars.

vishalgwalani avatar vishalgwalani commented on May 30, 2024

thanks @LasseRafn

from ui-avatars.

divyanshjain217 avatar divyanshjain217 commented on May 30, 2024

Thanks @LasseRafn

from ui-avatars.

Related Issues (20)

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.