From 63e837c51f6829595a40604bf09ebfacdfbda4ed Mon Sep 17 00:00:00 2001 From: Joep Meindertsma Date: Sat, 4 Feb 2023 22:51:14 +0100 Subject: [PATCH] #294 fix PWA html in json --- data-browser/index.html | 2 +- data-browser/vite.config.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data-browser/index.html b/data-browser/index.html index 19187903..83f6c9e6 100644 --- a/data-browser/index.html +++ b/data-browser/index.html @@ -32,7 +32,7 @@ } - + diff --git a/data-browser/vite.config.js b/data-browser/vite.config.js index 4a0003e6..64314df6 100644 --- a/data-browser/vite.config.js +++ b/data-browser/vite.config.js @@ -72,6 +72,8 @@ export default defineConfig({ ] }, workbox: { + // See https://github.com/atomicdata-dev/atomic-data-browser/issues/294 + globIgnores: ['**/index.html'], runtimeCaching: [ { urlPattern: /^https:\/\/fonts\.googleapis\.com\/.*/i,