Comments (10)
I will take a look at that.
from ui-avatars.
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.
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.
@LasseRafn,100% sure it related to Cloudflare. Double checked everything on local setup, headers are returned correctly.
from ui-avatars.
I'm also facing this issue, access-control-allow-origin header is not returned as response
from ui-avatars.
Stuck on the same issue, please add access-control-allow-origin header
from ui-avatars.
Problem is that we're already passing this, but Cloudflare is stripping it for some reason
from ui-avatars.
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.
thanks @LasseRafn
from ui-avatars.
Thanks @LasseRafn
from ui-avatars.
Related Issues (20)
- Add support for gradient backgrounds HOT 2
- No usage tracking HOT 2
- First load error HOT 1
- Custom font name when requesting .svg
- Fatal error: Uncaught Error: Class 'Utils\Input' not found HOT 1
- ui-avatars.com is down again HOT 6
- Gravatar strips the spaces in the name from default URL HOT 3
- receiving duplicate cors headers
- The deployed website does not match the code on GitHub
- Duplicate response headers returned
- ui-avatars.com is down - return Error 502
- Directory URLs not working (incl Gravatar fallbacks) HOT 7
- Dockerfile fails to start HOT 1
- "EΜdward Doe" returns "ED" when it should return "EΜD"
- Error in avatar - User with special char "&" HOT 2
- feat: Unique (background)color based on text HOT 2
- Monospace Font? HOT 1
- Use Own Avatars with the API
- Can't generate avatar with three initials (including middle initial) HOT 2
- Error when value of param `name` contains `<` HOT 1
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 ui-avatars.