Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Service worker not checking properly for local development server? #217

Description

@bogdancondurache

Looking at the provided service-worker.js I see the dev server requests are ignored like this:
if (url.hostname === self.location.hostname && url.port !== self.location.port) return;

My question is, doesn't this actually process the dev server requests and should be like:

if (url.hostname === self.location.hostname && url.port === self.location.port) return;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions