Cambiado el funcionamiento de Workbox para permitir notificaciones push.

This commit is contained in:
Fernando 2019-05-10 15:19:44 -05:00
parent 99318491ac
commit be6f5a868b

View File

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