Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix / before HTTPS #4

Open
halimjr opened this issue Mar 14, 2021 · 1 comment
Open

Prefix / before HTTPS #4

halimjr opened this issue Mar 14, 2021 · 1 comment

Comments

@halimjr
Copy link

halimjr commented Mar 14, 2021

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

@halimjr
Copy link
Author

halimjr commented Mar 16, 2021

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://');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant