From 38666dc045e19c8e2fff465512096ff4a9f2e195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Sun, 19 Sep 2021 03:47:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86service=20work=E7=9A=84=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E4=BF=A1=E6=81=AF=E4=BB=8Elog=E6=94=B9=E5=88=B0debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/export-player-data.html | 2 +- doc/index.html | 2 +- index.html | 2 +- script.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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); });