diff --git a/doc/export-player-data.html b/doc/export-player-data.html index 4c04c34f..8845ac33 100644 --- a/doc/export-player-data.html +++ b/doc/export-player-data.html @@ -31,7 +31,7 @@ if ('serviceWorker' in navigator) { navigator.serviceWorker.register('../service-worker.js', {scope: '../'}) .then(function(registration) { - console.log('service worker 注册成功',registration); + console.debug('service worker 注册成功',registration); }).catch(function(error) { console.error('servcie worker 注册失败',error); }); diff --git a/doc/index.html b/doc/index.html index 8d29bdd1..38bfebd8 100644 --- a/doc/index.html +++ b/doc/index.html @@ -24,7 +24,7 @@ if ('serviceWorker' in navigator) { navigator.serviceWorker.register('../service-worker.js', {scope: '../'}) .then(function(registration) { - console.log('service worker 注册成功',registration); + console.debug('service worker 注册成功',registration); }).catch(function(error) { console.error('servcie worker 注册失败',error); }); diff --git a/index.html b/index.html index d4adb064..4eaa42ef 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ if ('serviceWorker' in navigator) { navigator.serviceWorker.register('service-worker.js', {scope: './'}) .then(function(registration) { - console.log('service worker 注册成功',registration); + console.debug('service worker 注册成功',registration); }).catch(function(error) { console.error('servcie worker 注册失败',error); }); diff --git a/script.js b/script.js index 72d6eb9e..1655212d 100644 --- a/script.js +++ b/script.js @@ -31,7 +31,7 @@ if (location.search.includes('&')) { if ('serviceWorker' in navigator) { navigator.serviceWorker.register('service-worker.js', {scope: './'}) .then(function(registration) { - console.log('service worker 注册成功',registration); + console.debug('service worker 注册成功',registration); }).catch(function(error) { console.error('servcie worker 注册失败',error); });