Issue with Favicon
I fork this repo and change favicon to my own one
"favicon": {
"dark": "/favicon-dark.png",
"light": "/favicon-light.png"
},
The problem is: The favicon is replced and showed correctly on local development env. But once I publish the code, it goes wrong and keep using the default Mintlify facivon.
Hey, I ran into this exact issue, did you manage to find a fix?
@Bohan-J I noticed that your docs site has your custom favicon now. Do you happen to know what fixed it?
Changing from a favicon.ico to favicon.png fixed it for me. Just needed to deploy and wait a few minutes. Try clearing your browser cache or using a different browser completely to double check.
https://mintlify.com/docs/settings#param-favicon suggests we can have both light and dark, but i get an error when I try to do this:
Invalid mint.json:
#.favicon: Invalid type. Expected field to be of type 'string', received 'object'
Now the project doesn't use the mintlify default icon anymore, but I didn't do any changes. But still with some problem, it should use different icon in light/dark mode, while it always show the light mode favicon in dark mode right now.