chore: upgrade deps
This commit is contained in:
14
index.html
14
index.html
@@ -9,13 +9,6 @@
|
||||
<meta name="msapplication-TileColor" content="#00aba9">
|
||||
<meta name="description" content="好的,今天我们来做菜!">
|
||||
<title>隔离食用手册</title>
|
||||
<script>
|
||||
(function () {
|
||||
navigator.serviceWorker.getRegistrations().then((registrations) => {
|
||||
for (const registration of registrations) registration.unregister()
|
||||
})
|
||||
})()
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
||||
@@ -24,6 +17,13 @@
|
||||
document.documentElement.classList.toggle('dark', true)
|
||||
})()
|
||||
</script>
|
||||
<script>
|
||||
// remove pwa
|
||||
navigator.serviceWorker.getRegistrations().then((registrations) => {
|
||||
for (const registration of registrations)
|
||||
registration.unregister()
|
||||
})
|
||||
</script>
|
||||
</head>
|
||||
<body class="font-sans">
|
||||
<!-- for img preview -->
|
||||
|
||||
Reference in New Issue
Block a user