Skip to content

Commit

Permalink
why
Browse files Browse the repository at this point in the history
  • Loading branch information
RoboMico committed Jun 7, 2024
1 parent d79010b commit 5d15ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _javascript/pwa/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Toast from 'bootstrap/js/src/toast';

if ('serviceWorker' in navigator) {
if (pwa.enabled) {
const swUrl = `${baseurl}/sw.js`;
const swUrl = `${baseurl}/sw.min.js`;
const notification = document.getElementById('notification');
const btnRefresh = notification.querySelector('.toast-body>button');
const popupWindow = Toast.getOrCreateInstance(notification);
Expand Down

0 comments on commit 5d15ff3

Please sign in to comment.