Skip to content

Commit

Permalink
Update service worker links
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoosauro authored Apr 21, 2024
1 parent 870f4a0 commit 27562ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const filestoCache = [
'./assets/index.css',
'./assets/index.js',
'./assets/path2d-polyfill.min.js',
"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.0.379/pdf.worker.min.js"
"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.0.379/pdf.worker.min.mjs"
];
let language = navigator.language || navigator.userLanguage;
if (language.indexOf("it") !== -1) filestoCache.push('./translationItems/it.json')
Expand Down

0 comments on commit 27562ab

Please sign in to comment.