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

fix: set canonical link and 'og:url' info independent from SSR container context to 'https' #777

Merged
merged 2 commits into from
Jul 9, 2021

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented Jul 8, 2021

Production PWAs should always be run in a secure context but the PWA SSR container itself is usually not run in a secure context in production. The SSL certification is handled outside the PWAs context. This makes it hard to get the correct protocol from the PWA SSR context even though it is a secure context to the user. For this reason we always set the canonical link URLs and the 'og:url' to 'https:' to prevent false non indexable canonical links.

PR Type

[x] Bugfix

Does this PR Introduce a Breaking Change?

[x] No

Issue number: #749

AB#64674

@shauke shauke merged commit e3f0749 into develop Jul 9, 2021
@shauke shauke deleted the bugfix/https_canonical_link branch July 9, 2021 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants