📈 ajoute la page stats aux exceptions du service worker

pull/312/head
Johan Girod 2018-08-24 18:12:05 +02:00
parent 0cc6076a54
commit 3d6fefd6fe
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module.exports = {
// chunks: ['bundle'],
swDest: 'sw.js',
navigateFallback: '/',
navigateFallbackBlacklist: [/.*\?site=.*$/],
navigateFallbackBlacklist: [/.*\?site=.*$/, /^\/stats/],
runtimeCaching: [
{
urlPattern: new RegExp(