Skip to content

Commit

Permalink
modified: src/assets/js/main.js
Browse files Browse the repository at this point in the history
	modified:   src/site/_includes/partials/head.liquid
  • Loading branch information
rebron1900 committed Mar 28, 2024
1 parent 7cf3918 commit 8c03bef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mediumZoom(images, {
search();

if (navigator.serviceWorker) {
navigator.serviceWorker.register("sw.js", { scope: "/" });
navigator.serviceWorker.register(location.origin+"/sw.js", { scope: location.origin });
}

if (
Expand Down
1 change: 0 additions & 1 deletion src/site/_includes/partials/head.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
} else {
document.documentElement.classList.remove('dark')
}
}
</script>


Expand Down

0 comments on commit 8c03bef

Please sign in to comment.