Is that code you shared from workbox-window , or is it your own code for registering a service worker? It's transpiled, so I can't tell for sure ...
確定! 回上一頁