Closed mauricionr closed 7 years ago
Is your site served over https ?
Yes
Can you provide a link to the site?
@gauntface i'm unauthorized to post link here, could you share your email or something else?
i've tested in diff chrome versions and i got this result
chrome stable -> failed to install chrome beta -> work's fine :ok_hand: chrome unstable -> failed to install chrome canary -> i will test
Sure, just use gauntface 'at' google 'dot' com
I am facing the same issue, works fine on localhost but not when hosted on gh-pages (https://atb00ker.github.io/asetalias.github.io/manifest.html)
@ATB00ker Your sw.js
includes:
var urlsToCache = [
'/',
// Other URLs...
];
On your deployed website, the /
URL refers to https://atb00ker.github.io/
, and requests for that URL return a 404:
You presumably want ./
in that urlsToCache
list, not /
. That way it will always be interpreted as being relative to the same directory under which the service worker is deployed. In production, that will be https://atb00ker.github.io/asetalias.github.io/
localhost every things works fine, but in production i'm getting an error
Current lifecycle localhost
Register -> Ok Install -> Ok Activate -> Ok Running -> Ok
Current lifecycle in production
Register -> Ok Install -> Failed
Here's my current service-worker
and the error
any help will be appreciated
Thanks