local (file://) website favicon works in Firefox, not in Chrome or Safari- why?

后端 未结 7 1459
-上瘾入骨i
-上瘾入骨i 2020-11-27 18:15

The Question

When my website is local (using the file:// protocol), the favicon doesn\'t show up in Chrome or Safari, but it works in Firefox (all on a

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 18:23

    Well I have the problem similar with Google Chrome the favicon don't show correctly the problem was the .ico I was using was 16x16 and 32x32 I just used a bigger image and it works for all browsers.

提交回复
热议问题