Skip to content

Commit

Permalink
Update hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
rojvv committed Mar 22, 2024
1 parent 6e47e1b commit 07592cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ importScripts(

workbox.routing.registerRoute(
({ url }) =>
url.hostname == "durov.deno.dev" &&
url.hostname == "telegram.tools" &&
(url.pathname.startsWith("/fonts/") || url.pathname.startsWith("/MTKruto")),
new workbox.strategies.CacheFirst(),
);

0 comments on commit 07592cd

Please sign in to comment.