增加浏览器离线通知功能

This commit is contained in:
mtvpls
2026-06-02 20:50:33 +08:00
parent 16e48bef8b
commit d600317ade
20 changed files with 1739 additions and 91 deletions
+1
View File
@@ -183,6 +183,7 @@ const createNextConfig = (phase) => {
dest: 'public',
register: true,
skipWaiting: true,
importScripts: ['/push-sw.js'],
});
return withPWA(nextConfig);