Skip to content

Commit

Permalink
bg
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Sep 19, 2024
1 parent d28403c commit c78c3e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/bento.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function registerServiceWorker() {

registerServiceWorker()

if (navigator.userAgent.match(/18\.0 Safari/)) {
if (navigator.userAgent.match(/18\.0 (Mobile\/[A-Z0-9]+ )?Safari/)) {
document.write(/*html*/ `
<p>
Sorry! Apple has broken <b>bento</b> in the latest version of Safari
Expand Down
2 changes: 1 addition & 1 deletion public/service-worker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// update this when changing the service worker
const SERVICE_WORKER_VERSION = "v9"
const SERVICE_WORKER_VERSION = "v10"

const addResourcesToCache = async resources => {
const cache = await caches.open(SERVICE_WORKER_VERSION)
Expand Down

0 comments on commit c78c3e7

Please sign in to comment.