🐛 enlève le service worker dans le cas du preview de site

pull/305/head
Johan Girod 2018-08-23 16:59:18 +02:00
parent a6c1e5afb7
commit 7c8c1936d0
1 changed files with 1 additions and 0 deletions

View File

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