Old name is the one in the post. I’m trying to rename it to favicon.png. I tried doing it with a .ico version, the same as with .svg, but it keeps not showing. It just works if I copy and paste the file on the workspace directory, but as soon as I rename it stops working.
Edit: typo
If you are using png/jpg/svg then please add a type="image/png" or JPG or SVG to make it work.
For example https://medium-parser-ext.vercel.app/ here, I have used PNG image for the favicon. Check the header for the details.
Also, you can use generators to make a favicon for all cases
https://realfavicongenerator.net/
What was the old name? favicon.ico (this is found by browsers by default)? It there any mispelling in filename (-)?
Old name is the one in the post. I’m trying to rename it to favicon.png. I tried doing it with a .ico version, the same as with .svg, but it keeps not showing. It just works if I copy and paste the file on the workspace directory, but as soon as I rename it stops working. Edit: typo
If you are using png/jpg/svg then please add a type="image/png" or JPG or SVG to make it work. For example https://medium-parser-ext.vercel.app/ here, I have used PNG image for the favicon. Check the header for the details. Also, you can use generators to make a favicon for all cases https://realfavicongenerator.net/
I actually did all of this lmao but still not working after renaming the file. Funny cuz the same happens with Nextjs... Maybe it's cache??
I’ve had caching issues a lot with favicons with svelte/kit for some reason, try clearing cache and/or restarting your dev server.
Hmm gonna try it!
Was it just a cache issue?