Skip to content

Commit 0aa1b17

Browse files
committed
Remove PWA support
1 parent 2ce9bb8 commit 0aa1b17

3 files changed

Lines changed: 0 additions & 125 deletions

File tree

index.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<meta property="twitter:description" content="JustHTMLs 是一个开源的 HTML 工具集平台,汇集各种轻量级的在线工具,无需安装,即开即用。">
2121

2222
<link rel="icon" href="/favicon.svg">
23-
<link rel="manifest" href="/manifest.json">
2423

2524
<!-- Structured Data (JSON-LD) -->
2625
<script type="application/ld+json">
@@ -910,14 +909,6 @@ <h3>设计理念</h3>
910909
loadHomeStats();
911910
loadTools();
912911

913-
if ('serviceWorker' in navigator) {
914-
window.addEventListener('load', () => {
915-
navigator.serviceWorker
916-
.register('/service-worker.js', { updateViaCache: 'none' })
917-
.then((registration) => registration.update())
918-
.catch(() => {});
919-
});
920-
}
921912
</script>
922913
<script src="/assets/clicks.js" defer></script>
923914
</body>

manifest.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

service-worker.js

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)