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

Service worker syntax #51

Closed
aivLuk opened this issue Sep 11, 2023 · 1 comment
Closed

Service worker syntax #51

aivLuk opened this issue Sep 11, 2023 · 1 comment

Comments

@aivLuk
Copy link

aivLuk commented Sep 11, 2023

More of a question than an issue, does it work with service worker syntax?

addEventListener('fetch', event => {
  event.respondWith(new Response('Hello'));
});

If so, could there be an example on how it should be implemented?

@evanderkoogh
Copy link
Owner

Hey..

It currently does not support it and it is pretty far down my list of things to want to build.

having said that I would be more than happy to accept a PR if someone wants to add support for it.

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

No branches or pull requests

2 participants