pact-foundation / pact.io

Pact Foundation Website
http://pact.io
Other
219 stars 92 forks source link

When sharing from the browser on iOS, pactflow.io is shared #153

Closed 178inaba closed 7 months ago

178inaba commented 7 months ago

Sharing from the share button (ios_share_FILL0_wght400_GRAD0_opsz24) in Safari or Chrome on iOS results in sharing pactflow.io (https://pactflow.io/).

This is because the shared URL also becomes pactflow.io, specified by rel="canonical". https://github.com/pact-foundation/pact.io/blob/d4523e1cecc9a4b0879ffe2bd5c8e7ef429cc7e9/pages/index.html#L20

YOU54F commented 7 months ago

Thanks for noticing, the repro steps and link to the offending code.

Would you be up for creating a PR to update for it to point to the pact.io domain?

178inaba commented 7 months ago

@YOU54F I've submitted a pull request to remove the canonical tag! This is because I thought that pact.io does not need the pact.io canonical tag.