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

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

Open
bogdancondurache opened this issue Apr 28, 2020 · 0 comments
Open

Comments

@bogdancondurache
Copy link

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;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant