Source code

Revision control

Copy as Markdown

Other Tools

self.addEventListener('fetch', function(event) {
event.respondWith(new Response(
'<body>Generated by service worker</body>',
{headers:[['content-type', 'text/html']]}));
});