From 8138f8482afcb5efb1cb36381a31ec61d8969ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 28 Jul 2022 10:24:33 +0200 Subject: [PATCH] Exclue /twemoji and /dev/storybook des routes offline --- site/source/sw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/source/sw.ts b/site/source/sw.ts index 3e4855bc7..8162e7285 100644 --- a/site/source/sw.ts +++ b/site/source/sw.ts @@ -28,7 +28,7 @@ registerRoute( ? 'mon-entreprise.html' : 'infrance.html' ), - { denylist: [/^\/api\/.*/] } + { denylist: [/^\/api\/.*/, /^\/twemoji\/.*/, /^\/dev\/storybook\/.*/] } ) )