You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While publishing the landing page of the server portal to walrus sites, there is a chance that something can go wrong and the service worker registration script may be included to the site resources.
This can cause a bug with a huge impact, because users that use blob.store and have a service worker installed, will not be able to access the landing page of the server portal (plus the sw can interfere with the fetch events of the browser).
For now we are only triple-checking that only the correct resources are published.
To resolve this issue, we should add a safety mechanism that would minimize the aforementioned risk.
Component
portal
Code of Conduct
I agree to follow this project's Code of Conduct.
The text was updated successfully, but these errors were encountered:
Tzal3x
changed the title
Improve landing page publishing to avoid registering a service worker
Improve the landing page publishing script to avoid registering a service worker
Aug 27, 2024
Description
While publishing the landing page of the server portal to walrus sites, there is a chance that something can go wrong and the service worker registration script may be included to the site resources.
This can cause a bug with a huge impact, because users that use
blob.store
and have a service worker installed, will not be able to access the landing page of the server portal (plus the sw can interfere with the fetch events of the browser).For now we are only triple-checking that only the correct resources are published.
To resolve this issue, we should add a safety mechanism that would minimize the aforementioned risk.
Component
portal
Code of Conduct
The text was updated successfully, but these errors were encountered: