Hello, my problem is that i can´t register my service worker in other scope, i use the backand hosting and the service-worker try to initialize in the home of backand (https://hosting.backand.io/pushwoosh-service-worker.js?version=3.0.8), instead of my aplication url "https://hosting.backand.io/myapplication/pushwoosh-service-worker.js?version=3.0.8".

All my site are in the url "https://hosting.backand.io/myapplication/", my index, the pushwoosh-service-worker.js, and the manifest.json, in my index i use the init script like this:

    var Pushwoosh = Pushwoosh || [];
    Pushwoosh.push(["init", {
        serviceWorkerUrl: "/myapplication",
        logLevel: 'debug',
        applicationCode: 'XXXX-XXXX',
        autoSubscribe: true

But the scope isn't initialize in the correct url with the serviceWorkerUrl

I hope someone can help me. Thanks

asked 18 Dec '17, 17:39
saul_padilla's gravatar image


edited 18 Dec '17, 17:55


Please note that I have passed your request to our developers. I will contact you as soon as they respond.

Regards, Ivan

permanent link
answered 16 Jan, 07:41
iskoritzky's gravatar image



May I ask you to add the full pathname to the file and let us know about the results?

Regards, Ivan

permanent link
answered 17 Jan, 05:50
iskoritzky's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 18 Dec '17, 17:39

question was seen: 43 times

last updated: 17 Jan, 05:50