We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb5023 commit 25d8973Copy full SHA for 25d8973
test/e2e/index.js
@@ -26,7 +26,7 @@ if (window.location.hostname === "leanplum.github.io") {
26
scope = "/Leanplum-JavaScript-SDK/";
27
}
28
Leanplum.setWebPushOptions({
29
- serviceWorkerUrl: window.origin + window.pathname + "/sw.min.js",
+ serviceWorkerUrl: window.origin + window.location.pathname + "/sw.min.js",
30
scope
31
})
32
0 commit comments