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 was archived by the owner on Oct 12, 2021. It is now read-only.
Trying to run Service worker behind Authentication. It works 100% without Authentication. Once I enabled the auth, I failed with (401 Authentication) getting the $SITE_URL/ngsw-manifest.json?...$timestamp$...
Because the service worker cannot read the file of ngsw-manifest.json, none of those assets is being downloaded to the browser cache.
Trying to run Service worker behind Authentication. It works 100% without Authentication. Once I enabled the auth, I failed with (401 Authentication) getting the
$SITE_URL/ngsw-manifest.json?...$timestamp$...Because the service worker cannot read the file of
ngsw-manifest.json, none of those assets is being downloaded to the browser cache.By reading the source code of service worker, currently refresh method with req url,
$SITE_URL/ngsw-manifest.json?...$timestamp$...is being loaded with Fetch API.Current option for the fetch api when it requests
ngsw-manifest.jsonthat behind of Authentication isWhat if i changed to
Is it supposed to work? Do @alxhub have any suggestion on how to work around this issue? thanks