Cambiado el funcionamiento de Workbox para permitir notificaciones push.

master
Fernando 2019-05-10 15:19:44 -05:00
parent 99318491ac
commit be6f5a868b
1 changed files with 2 additions and 1 deletions

View File

@ -23,8 +23,9 @@ module.exports = {
css: undefined,
pwa: {
workboxPluginMode: "InjectManifest",
workboxOptions: {
skipWaiting: true
swSrc: __dirname + "/public/service-worker.js"
}
}
};