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 calling navigator.serviceWorker.register in Child App, it will cause an error and make the whole app down. On the other hand, the location.origin in child app's code will change to the main's
What happens?
While calling
navigator.serviceWorker.register
in Child App, it will cause an error and make the whole app down. On the other hand, thelocation.origin
in child app's code will change to the main'sMini Showcase Repository(REQUIRED)
https://github.com/eryue0220/qiankun-test-demo
How To Reproduce
Steps to reproduce the behavior:
qiankun-test-demo
cd main && npm i && npm start
to start main appcd child && npm i && npm start
to start child apphttp://localhost:3000
in browserExpected behavior
navigator.serviceWorker.register
API in child app will not cause an error;Context
The text was updated successfully, but these errors were encountered: