Skip to content

Commit

Permalink
re-enable service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
phughesmcr committed Sep 6, 2024
1 parent 1fd0f2e commit 21c14e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions routes/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function App({ Component }: PageProps) {
dangerouslySetInnerHTML={{ __html: `${JSON.stringify(JSONLD)}` }}
>
</script>
{/* {
{
<script dangerouslySetInnerHTML={{__html: `
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
Expand All @@ -104,7 +104,7 @@ export default function App({ Component }: PageProps) {
});
}
`}}></script>
} */}
}
</head>
<body>
<Component />
Expand Down
2 changes: 1 addition & 1 deletion static/sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const CACHE_NAME = "debatething-cache-v5";
const CACHE_NAME = "debatething-cache-v6";
const urlsToCache = [
"/",
"/styles.css",
Expand Down

0 comments on commit 21c14e0

Please sign in to comment.