chore: upgrade deps

This commit is contained in:
YunYouJun
2022-06-27 09:11:10 +08:00
parent 19d56a3be8
commit 0331d0fc86
3 changed files with 132 additions and 132 deletions

View File

@@ -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 -->