How to replace wasp logo as favicon in tab
I've deployed my website using wasp deploy fly deploy. In my localhost, I was able to replace the favicon in the tab, but when I deploy it the wasp logo is the one that's present and not my logo. Why is this happening and how can I change it so that my logo appears in tab.
3 Replies
Hi @rithvik12345678. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
To replace the favicon in your Wasp application, you need to add your favicon file to the
public
directory in your Wasp project. The file should be named favicon.ico
. If you don't define one, Wasp puts a default favicon.
Here is the directory structure for reference:
After adding your favicon, you might need to refresh your tab with CTRL + SHIFT + R or CMD + SHIFT + R to clear the cache.
If you've already done this and the favicon is still not showing up after deployment, it could be a caching issue. Try clearing your browser cache or opening your website in an incognito window to see if the correct favicon appears.
If the issue persists, it might be worth raising this as an issue in the Wasp GitHub repository or asking for help in the Wasp Discord community.
Sources:
- Discord support thread: opensaas favicon > Answers (https://discord.com/channels/686873244791210014/1220963657073037342)
- Github Issue (closed): Add favicon support > Original post (https://github.com/wasp-lang/wasp/issues/9)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @rithvik12345678, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?It was a caching issue. When I opened in an incognito window it was no longer an issue.
Glad it worked out!
And thanks for reporting the poor favicon experience, it motivated the prioritization of this issue 😄 : https://github.com/wasp-lang/wasp/issues/1979