• Resolved rawsilk

    (@rawsilk)


    Hi There,

    i have an issue with WPML as the script tries to load from: /nl/superpwa-sw.js (file is not there) when using for example dutch language (but should be just /superpwa-sw.js) Default language (EN) loads fine.

    i get following error in console: Registration failed with SecurityError: Failed to register a ServiceWorker: The script resource is behind a redirect, which is disallowed. (which is probibly the 404 redirecting to home again)

    I could fix this hardcoded (which i also did with the manifest.json, but i cant find the location where it sets the url for superpwa-sw.js) but maybe a good idea to support multilangual plugins such as WPML. There is probily no issue if you use WPML with querystring (?lang=NL), but i dont prefer that for caching purposes.

    Any thoughts on this?

    Thanks you!

    PS: any updates in store for IOS? ??

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issue with statics path to superpwa-sw.js (WPML)’ is closed to new replies.