mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
8 lines
175 B
JavaScript
8 lines
175 B
JavaScript
self.addEventListener('fetch', event => {
|
|
event.respondWith(fetch(event.request));
|
|
});
|
|
|
|
self.addEventListener('activate', event => {
|
|
event.waitUntil(clients.claim());
|
|
});
|