rolwinreevan_gatsby_blog icon indicating copy to clipboard operation
rolwinreevan_gatsby_blog copied to clipboard

Prefix / before HTTPS

Open halimjr opened this issue 3 years ago • 1 comments

In the SEO section of the head, we are getting / before the site URL. image

halimjr avatar Mar 14 '21 03:03 halimjr

I have a temporary solution for myself. I do not know anything about react, it's just my 4tha day.

The solution is string replacement. const fixmetaImageUrl = metaImageUrl.replace('/https://', 'https://');

halimjr avatar Mar 16 '21 08:03 halimjr