增加浏览器离线通知功能
This commit is contained in:
@@ -183,6 +183,7 @@ const createNextConfig = (phase) => {
|
||||
dest: 'public',
|
||||
register: true,
|
||||
skipWaiting: true,
|
||||
importScripts: ['/push-sw.js'],
|
||||
});
|
||||
|
||||
return withPWA(nextConfig);
|
||||
|
||||
Reference in New Issue
Block a user