• Resolved slingshotdesign

    (@slingshotdesign)


    Hi,

    I have a multisite setup with my PWA as a sub directory site located at https://www.website.com/app/

    The manifest and service worker files are created in the web root directory but the urls being output in the code include the sub directory For example:

    src='https://www.website.com/app/pwa-register-sw-2.js?ver=1.7.61' id='pwa-main-script-js'

    Also inside that file, the url to the sw is coded like:

    var swsource = "https://www.website.com/app/pwa-sw-2.js";

    The result is a 404 error on the service worker files.

Viewing 1 replies (of 1 total)
  • Plugin Author Magazine3

    (@magazine3)

    Hi, thank you for reaching out to us. Generally, it works fine, but it seems to be showing an error on your end. Could you please share the exact URL where you are encountering this error? This will allow us to investigate further.

Viewing 1 replies (of 1 total)
  • The topic ‘Service worker not working in multisite’ is closed to new replies.