Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repositories with *.svg can't be rendered #139

Open
qwerty287 opened this issue Apr 8, 2022 · 0 comments
Open

Repositories with *.svg can't be rendered #139

qwerty287 opened this issue Apr 8, 2022 · 0 comments

Comments

@qwerty287
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant