From 7c8c1936d0888b5edd0c9493c026909a9a01a486 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 23 Aug 2018 16:59:18 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20enl=C3=A8ve=20le=20service=20worker=20d?= =?UTF-8?q?ans=20le=20cas=20du=20preview=20de=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/webpack.prod.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/webpack.prod.js b/source/webpack.prod.js index 53c34a409..2ea7ec5f3 100644 --- a/source/webpack.prod.js +++ b/source/webpack.prod.js @@ -12,6 +12,7 @@ module.exports = { // chunks: ['bundle'], swDest: 'sw.js', navigateFallback: '/', + navigateFallbackBlacklist: [/.*\?site=.*$/], runtimeCaching: [ { urlPattern: new RegExp(