claudiajs / example-projects

Simple example projects that show how to use ClaudiaJs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repo-label example project badge is not rendering in the README

Winter-Guerra opened this issue · comments

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.

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.