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
{{ message }}
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
The example in the docs is path/to/directory, and the default when document.currentScript is unavailable is ./. But both of these would actually fail to work.
platinum-sw-cache.html#L143 calls the URL constructor with the baseUri as the second parameter but this MUST be an absolute URL.
> new URL('bootstrap/sw-toolbox-setup.js', './')
Uncaught TypeError: Failed to construct 'URL': Invalid URL(…)
We need to do an additional step somewhere to convert any relative baseUri into an absolute one.
The text was updated successfully, but these errors were encountered:
The example in the docs is
path/to/directory
, and the default whendocument.currentScript
is unavailable is./
. But both of these would actually fail to work.platinum-sw-cache.html#L143 calls the
URL
constructor with thebaseUri
as the second parameter but this MUST be an absolute URL.We need to do an additional step somewhere to convert any relative
baseUri
into an absolute one.The text was updated successfully, but these errors were encountered: