Repositories with `*.svg` can't be rendered
qwerty287 opened this issue · comments
qwerty287 commented
Trying to render a repository ending with .svg
results in an error, example https://starchart.cc/adobe-webplatform/Snap.svg. An easy way would be to add a query param ?svg=true
or something similar, but this might break it for current repositories using it. If I open something like owner/repository.svg
, a request could be made to check if there is a repository owner/repository.svg
and if not, view the SVG image. Don't know if this is possible already, but you could evaluate the Accept
header to show the SVG if requesting it.