From 2a5d83a972e046a94ebcde7c6be7c74528d42cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr> Date: Mon, 21 Nov 2022 14:34:30 +0100 Subject: [PATCH] fix: service worker configuration for cache prefetching (assets) refs #445 --- ngsw-config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ngsw-config.json b/ngsw-config.json index 2a1566195..0f87801bb 100644 --- a/ngsw-config.json +++ b/ngsw-config.json @@ -14,12 +14,12 @@ "/favicon.ico", "/index.html", "/manifest.webmanifest", - "/**/*.css", + "/*.css", "/*.js", - "/**/*.json", + "/*.json", "/3rdpartylicenses.txt", "/MaterialIcons-Regular.1e50f5c2ffa6aba4.eot", - "/assets/**", + "/assets/**/*", "/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)" ] } -- GitLab