mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-23 14:23:39 +08:00
moved service worker code
This commit is contained in:
parent
ea6fbfb21e
commit
42f559d5c6
1 changed files with 0 additions and 10 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue