Skip to content

Disabeling ServiceWorker is not possible anymore #393

@mojoaxel

Description

@mojoaxel

The docs state that you could set ServiceWorker to null or false to disable it.

Since 39acf1f this does not work anymore. The check if ServiceWorker.force is true breaks if ServiceWorker is null or false:
https://github.com/NekR/offline-plugin/blame/master/tpls/runtime-template.js#L4

PR #388 fixes this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions