Jonsam ng
Jonsam ng
Is anyone preparing a translation in simplified Chinese? I would like to be involved in it.
That maybe works, but `self.registration.scope` is a absolute path, but normalize_url may receive a relative path as pathname, Is that ok? ```js let path_name = normalize_url(decodeURIComponent(url.pathname)); ```
`self.registration.scope` returns url with domain, I don't test HTTP yet.
Sorry for late reply. I can describe the scenario I encountered in detail. My website carries the prefix `/s/sw.js` when request serviceWorker, and the scope is `/`. When I register...
Sorry, I don't understand clearly. If I register a service worker like this: ```js navigator.serviceWorker.register("/s/sw.js", { scope: '/' }) ``` Should I only request from `/s/m/getData`, instead of `/m/getData`? I...
ok, thx, I will recheck my situation.