chore: update sw

This commit is contained in:
adams549659584 2023-05-05 15:31:05 +08:00
parent bfc0af4ba4
commit c102fd0b64

View File

@ -1,7 +1,7 @@
// 引入workbox 框架 // 引入workbox 框架
importScripts('./js/sw/workbox-sw.js'); importScripts('./js/sw/workbox-sw.js');
const SW_VERSION = '1.2.2'; const SW_VERSION = '1.2.3';
const CACHE_PREFIX = 'BingAI'; const CACHE_PREFIX = 'BingAI';
workbox.setConfig({ debug: false, logLevel: 'warn' }); workbox.setConfig({ debug: false, logLevel: 'warn' });
@ -61,7 +61,7 @@ workbox.precaching.precacheAndRoute([
// html // html
{ {
url: '/web/chat.html', url: '/web/chat.html',
revision: '2023.05.05.14', revision: '2023.05.05.15',
}, },
// ico // ico
{ {