Skip to content

Commit

Permalink
♻️ try to disable update via cache
Browse files Browse the repository at this point in the history
  • Loading branch information
russkyc committed Mar 14, 2024
1 parent fa7bf1f commit ca71706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Timely/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
const registerServiceWorker = async () => {
if ("serviceWorker" in navigator) {
try {
await navigator.serviceWorker.register("service-worker.js", { updateViaCache: "none"});
await navigator.serviceWorker.register("service-worker.js");
} catch (error) {
console.error(`Registration failed with ${error}`);
}
Expand Down

0 comments on commit ca71706

Please sign in to comment.