Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add service worker #193

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add service worker #193

wants to merge 1 commit into from

Conversation

shreyasminocha
Copy link
Member

Description

Adds a service worker which should—in theory—make carpool work offline and have browsers detect it as "installable". Haven't been able to test this properly yet because service workers don't like non-https hosts, but I'll look more closely into it soon.

The stuff in service-worker.js was copied almost verbatim from cra-template-pwa.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

It hasn't (yet).

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

Successfully merging this pull request may close these issues.

1 participant