diff --git a/app/assets/javascripts/discourse/initializers/android-app-banner-service-worker.js.es6 b/app/assets/javascripts/discourse/initializers/android-app-banner-service-worker.js.es6 index 3d8c2f7fd2a..e24cb2d6a2a 100644 --- a/app/assets/javascripts/discourse/initializers/android-app-banner-service-worker.js.es6 +++ b/app/assets/javascripts/discourse/initializers/android-app-banner-service-worker.js.es6 @@ -10,7 +10,7 @@ export default { const isSecure = document.location.protocol === 'https:'; if (isSecure && caps.isAndroid && 'serviceWorker' in navigator) { - navigator.serviceWorker.register(Discourse.BaseUri + '/service-worker.js', {scope: './'}); + navigator.serviceWorker.register(Discourse.BaseUri + '/service-worker.js'); } } };