-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix: add additional favicon redirect #7422
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
Conversation
Signed-off-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- apps/site/redirects.json: Language not supported
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
🤔 Is this the right thing to do? Redirecting from an .ico to a .png feels weird to me? The .png of the same name at the same path already exists, so I feel that if folks want a png they can change the extension they're requesting, but an automatic redirect across file types I'm not so sure about. |
I'm happy to close this too. I was trying to do a favor to the reporter of ##7413. our previous rationale was that people should not be hotlinking to the site. the presence of -other- image redirects is proof that we cared about continuity beyond our control at one point or another |
|
Ah yeah I saw the SVG + PNG ones but had missed that we already have another ico -> png redirect further up in the file: Given that, I withdraw my concern, there is prior art 👍 |
canerakdas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Lighthouse Results
|
Description
perhaps fixes #7413 - i did it in the GUI only
Validation
test the preview
https://nodejs-org-git-favicon-redirect-maybe-openjs.vercel.app/static/images/favicons/favicon.ico
goes to
https://nodejs-org-git-favicon-redirect-maybe-openjs.vercel.app/static/images/favicons/favicon.png
Related Issues
#7413
Check List
npm run formatto ensure the code follows the style guide.npm run testto check if all tests are passing.npx turbo buildto check if the website builds without errors.