From 4da7406dfea112a4a2b1db5615ecf2672be6694f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 11 Sep 2023 00:35:56 +0800 Subject: [PATCH] fix(pwa): installation failure caused by outdated cache entries Change `/assets/css/style.css` to `/assets/css/jekyll-theme-chirpy.css` --- assets/js/data/swcache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/data/swcache.js b/assets/js/data/swcache.js index f4dcc87..ed5d40e 100644 --- a/assets/js/data/swcache.js +++ b/assets/js/data/swcache.js @@ -5,7 +5,7 @@ layout: compress const resource = [ /* --- CSS --- */ - '{{ "/assets/css/style.css" | relative_url }}', + '{{ "/assets/css/:THEME.css" | replace: ':THEME', site.theme | relative_url }}', /* --- PWA --- */ '{{ "/app.js" | relative_url }}',