From 25b1262a25df82f32296afe3802836e768f2143f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 15 五月 2020 14:15:30 +0800 Subject: [PATCH] 2020-05-15 --- src/serviceWorker.js | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/serviceWorker.js b/src/serviceWorker.js index f8c7e50..f2e6fd2 100644 --- a/src/serviceWorker.js +++ b/src/serviceWorker.js @@ -42,8 +42,7 @@ // service worker/PWA documentation. navigator.serviceWorker.ready.then(() => { console.log( - 'This web app is being served cache-first by a service ' + - 'worker. To learn more, visit https://bit.ly/CRA-PWA' + 'This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA' ); }); } else { @@ -70,8 +69,7 @@ // but the previous service worker will still serve the older // content until all client tabs are closed. console.log( - 'New content is available and will be used when all ' + - 'tabs for this page are closed. See https://bit.ly/CRA-PWA.' + 'New content is available and will be used when all tabs for this page are closed. See https://bit.ly/CRA-PWA.' ); // Execute callback -- Gitblit v1.8.0