avatar icon indicating copy to clipboard operation
avatar copied to clipboard

fix: file name parsing

Open vaguue opened this issue 2 years ago • 3 comments

Hello! I have observed an unusual behavior with avatar.vercel.sh. The service only provides users with PNG files, even when .svg is specified at the end of the filename. While attempting to find a potential bug, I discovered another minor issue during my code review: if someone requests https://avatar.vercel.sh/username.svg.png, the service responds with an SVG file, which is not quite accurate. I have corrected this issue.

Best regards, Vaguue.

vaguue avatar Apr 18 '23 19:04 vaguue

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
avatar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 18, 2023 7:16pm

vercel[bot] avatar Apr 18 '23 19:04 vercel[bot]

📝 Changed routes:

Commit fe2beb4e0035bcda2df60b2d3681ec1a88f65944 (https://avatar-6d1njtsm4.vercel.sh).

vercel-team avatar Apr 18 '23 19:04 vercel-team