Commit 05108146 authored by Vincent Bechu's avatar Vincent Bechu

erp5_officejs: update bootloader service worker for latest chrome and firefox version

/reviewed-on nexedi/erp5!290
parent 781918f8
......@@ -35,7 +35,8 @@ var global = self, window = self;
});
self.addEventListener("fetch", function (event) {
var relative_url = event.request.url.replace(self.registration.scope, "")
var relative_url = event.request.url.split("#")[0]
.replace(self.registration.scope, "")
.replace(self.version_url, "");
if (relative_url === "") {
relative_url = self.registration.scope;
......
......@@ -227,7 +227,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>959.7534.37330.9540</string> </value>
<value> <string>959.27737.62903.2116</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>1493803503.24</float>
<float>1497359632.58</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment