mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +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());
|
|
});
|