moved service worker code

This commit is contained in:
Miodec 2022-10-13 14:25:14 +02:00
parent ea6fbfb21e
commit 42f559d5c6

View file

@ -64,14 +64,4 @@
<meta name="twitter:card" content="summary_large_image" />
<meta name="darkreader-lock" />
<meta http-equiv="Cache-Control" content="no-store" />
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (let registration of registrations) {
// if (registration.scope !== "https://monkeytype.com/")
registration.unregister();
}
});
}
</script>
</head>