-
Notifications
You must be signed in to change notification settings - Fork 113
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
Next.JS 13 App Dir Favicon Not Displaying #3457
Comments
Hi @SamKomesarook 👋🏽 thanks for raising this issue. I'm not able to reproduce the behavior you're seeing. Here is what I did:
I'm able to see my icon in the head locally and after deploying to Amplify. Can you check your Network tab and see what response is being returned for the icon's GET request? |
@hloriii I should have been more specific, I can see it in the source head, however it is not actually displayed in the browser tab. Can you see the icon in your test example? |
@SamKomesarook I can see the icon being displayed in the browser tab for my app. Can you provide a screenshot to highlight what you're seeing in your hosted app and a screenshot of what you're expecting to see from your local app? Here is my bare bones app using the app directory feature so you can see: https://main.d3e6hxeizdoy.amplifyapp.com/ |
Thank you for the example! From looking at your example, the href for your link is within the _next/static folder, while ours is a local reference, which breaks when deployed... This is likely a NextJS issue. I appreciate your help! |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Before opening, please confirm:
App Id
d19oqxloeeub82
AWS Region
us-east-1
Amplify Hosting feature
Not Applicable
Describe the bug
The favicon added to the root of a NextJS 13 app-dir project does not display when deployed.
Expected behavior
As per the docs, the favicon with the name of 'icon.png' placed in the root dir should display as the favicon.
Reproduction steps
icon.{png, svg,etc...}
Build Settings
No response
Log output
Additional information
No response
The text was updated successfully, but these errors were encountered: