From fce268453fb72fcacdb4ecfa4f0e8aa96d818105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Tue, 26 Jul 2022 15:17:02 +0200 Subject: [PATCH] fix swagger page with pwa --- site/source/sw.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/source/sw.ts b/site/source/sw.ts index adedd5d32..4fdf304b0 100644 --- a/site/source/sw.ts +++ b/site/source/sw.ts @@ -27,7 +27,8 @@ registerRoute( location.href.startsWith(import.meta.env.VITE_FR_BASE_URL) ? 'mon-entreprise.html' : 'infrance.html' - ) + ), + { denylist: [/^\/api\/.*/] } ) )