ethersphere / swarm-extension

PoC for Swarm Browser Extension
14 stars 3 forks source link

bzz.link redirection problem #169

Open nugaon opened 1 year ago

nugaon commented 1 year ago

After a while, the service worker becomes inactive and the address redirection does not work as expected. In this case, loading any *.bzz.link address will be blocked by the extension if the API address of the Bee Client is not listening on localhost. Screenshot from 2023-01-12 13-16-48

It may be because of some concurrency issue: the request interceptors are registered and does not need any async init like the context init. A solution is required which somehow makes the interception pending until the context is initialized.