mirror of
https://github.com/HeyPuter/browser.js.git
synced 2026-11-13 18:33:58 -10:00
[controller] fix throw when injecting into already loaded client
This commit is contained in:
1 parent
ac33173067
commit
9ea389384d
1 file changed
+1
-1
@@ -163,7 +163,7 @@ class RemoteTransport implements ProxyTransport {
|
||||
}
|
||||
}
|
||||
|
||||
const sw = navigator.serviceWorker.controller;
|
||||
const sw = navigator.serviceWorker?.controller;
|
||||
|
||||
type Init = {
|
||||
config: Config;
|
||||
|
||||
Reference in new issue
Block a user