Skip to content

Commit

Permalink
Fix demo service worker (#21527)
Browse files Browse the repository at this point in the history
* fix demo service worker

* cast too
  • Loading branch information
bramkragten authored Aug 1, 2024
1 parent 9e3284a commit 2f696bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cast/public/sw-legacy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"use strict";

self.addEventListener("fetch", (event) => {
event.respondWith(fetch(event.request));
});
File renamed without changes.
5 changes: 5 additions & 0 deletions demo/public/sw-legacy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"use strict";

self.addEventListener("fetch", (event) => {
event.respondWith(fetch(event.request));
});
File renamed without changes.

0 comments on commit 2f696bd

Please sign in to comment.