gladevise / remark-link-card

remark-link-card-gladevise.vercel.app
MIT License
27 stars 8 forks source link

Faced an error that is wanting to fetch `favicon.ico` but the domain path seems like wrong #14

Open paveg opened 1 year ago

paveg commented 1 year ago

When I used this library on my blog created with the astro.build, it came from fetching favicon.ico.

Failed to load resource: the server responded with a status of 404 ()

As I dug into that error, it seems failed to fetch a favicon.ico because protocols are mismatched which means the application should fetch favicon.ico from https://www.funailog.com but wants to fetch from http://www.funailog.com.

Requested URL: https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://www.funailog.com&size=16

I'd like to know how to fix this problem using by option if exist.

Materials