about summary refs log tree commit diff
path: root/MatrixUtils.Web/wwwroot/sw-registrator.js
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.Web/wwwroot/sw-registrator.js')
-rw-r--r--MatrixUtils.Web/wwwroot/sw-registrator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/MatrixUtils.Web/wwwroot/sw-registrator.js b/MatrixUtils.Web/wwwroot/sw-registrator.js

index 94b96b2..67aa5cb 100644 --- a/MatrixUtils.Web/wwwroot/sw-registrator.js +++ b/MatrixUtils.Web/wwwroot/sw-registrator.js
@@ -8,7 +8,7 @@ window.updateAvailable = new Promise((resolve, reject) => { return; } - navigator.serviceWorker.register('/service-worker.js') + navigator.serviceWorker.register('/service-worker.js', {updateViaCache: 'none'}) .then(registration => { console.info(`Service worker registration successful (scope: ${registration.scope})`);