Skip to content

Commit

Permalink
Merge pull request #98 from malikpiara/v2
Browse files Browse the repository at this point in the history
Updated service worker to include quiz routes.
  • Loading branch information
malikpiara authored Nov 2, 2024
2 parents 6ed5ff4 + 26277f5 commit f8915b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ const urlsToCache = [
// Add other static assets like
'/globals.css',
// Add any other pages/routes you want to cache
'/syllogistic/translations/quiz',
'informal/definitions/quiz',
'propositional/translations/quiz',
];

self.addEventListener('install', (event) => {
Expand Down

1 comment on commit f8915b4

@vercel
Copy link

@vercel vercel bot commented on f8915b4 Nov 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.