Update service worker cache version and asset URLs for improved caching
All checks were successful
Deploy / deploy (push) Successful in 2s

This commit is contained in:
M1ngdaXie
2026-03-27 18:46:12 -07:00
parent cf64244b21
commit e6f0bad71d

8
sw.js
View File

@@ -1,10 +1,10 @@
const CACHE_NAME = 'chengyu-v1'; const CACHE_NAME = 'chengyu-v3';
const ASSETS = [ const ASSETS = [
'/', '/',
'/index.html', '/index.html',
'/style.css', '/style.css?v=3',
'/app.js', '/app.js?v=3',
'/data.js', '/data.js?v=3',
'/manifest.json', '/manifest.json',
'/icons/icon-192.png', '/icons/icon-192.png',
'/icons/icon-512.png' '/icons/icon-512.png'