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

Update Meta tags to use explicit URLs #99

Merged
merged 6 commits into from
Apr 24, 2022
Merged

Conversation

erayalkis
Copy link
Collaborator

Description

I noticed a few minutes ago that the meta tags we use don't work properly on some sites/apps.
This PR makes it so that the image URLs used for the meta tages are explicit(includes the full URL). This change was made because some sites do not behave as expected with the old URLs we were using, causing images to not appear on them. Changing it to an explicit URL got the results we wanted though!

I did not open an issue for this PR as it was a simple change but I can do so if you need me to!

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

I tested this using external browser extensions and by pushing to Vercel and testing link embeds for various Plays.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Notes:

This should be the final fix to the meta tag problem! It's been fun figuring out how to implement this feature, thank you for the amazing opportunity! :)

@vercel
Copy link

vercel bot commented Apr 23, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/atapas/react-play/A4DUzZstedx2yyrMgGzj6rJYV6RY
✅ Preview: https://react-play-git-fork-erayalkis-main-atapas.vercel.app

@atapas
Copy link
Member

atapas commented Apr 24, 2022

@erayalkis has it been tested with all scenarios?

@atapas atapas merged commit 0c2c480 into reactplay:main Apr 24, 2022
@erayalkis
Copy link
Collaborator Author

@erayalkis has it been tested with all scenarios?

Yep! Pushed all changes to Vercel and tested with all edge cases I could think of! I'll delete the Vercel app soon as we no longer need it, but you can test the changes here if you want: https://react-play-hazel.vercel.app

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

Successfully merging this pull request may close these issues.

2 participants