Cambiado el funcionamiento de Workbox para permitir notificaciones push.
parent
99318491ac
commit
be6f5a868b
|
@ -23,8 +23,9 @@ module.exports = {
|
|||
css: undefined,
|
||||
|
||||
pwa: {
|
||||
workboxPluginMode: "InjectManifest",
|
||||
workboxOptions: {
|
||||
skipWaiting: true
|
||||
swSrc: __dirname + "/public/service-worker.js"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue