Repo-label example project badge is not rendering in the README
Winter-Guerra opened this issue · comments
Winter Guerra commented
Probably because repolabels.net
currently does not output Access-Control-Allow-Origin: *
in the svg response headers. Since GitHub now proxies all image traffic through camo.githubusercontent.com
, some CORS access control (such as the line above) is going to be necessary for allowing SVGs to render in READMEs.
Winter Guerra commented
Gojko Adzic commented
this seems to be a recurring problem with github image caching. cors works well on repolabels.net, and in any case, cors is only important for browser cross-origin access, not for server-side proxying.