-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] register custom service worker for AMP #2265
Conversation
🦋 Changeset detectedLatest commit: 102f40e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, but I don't think this is quite right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good enough, not sure about the actual usage, hoping others with more experience on amp would chime in
Sorry if this is a stupid question since I am new to this, it seems like the test is failing on node 12 ubuntu-latest. Is this due to flaky test or something? 🙇🏼 |
Yes, it should be fine |
(belatedly) this is great, thank you so much! |
Fixes #2264
An attempt to fix invalid service-worker script tag in AMP as described in the issue
I am still not sure what is the best way to set
data-iframe-src
since it must include the full domain name.