From 53a98feff329c62afa23c16ba74e173664a7de4e Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 11 Dec 2020 23:08:57 +0800 Subject: [PATCH] Update pwa cache list --- assets/js/data/cache-list.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/assets/js/data/cache-list.js b/assets/js/data/cache-list.js index 90b469e..a5001b1 100644 --- a/assets/js/data/cache-list.js +++ b/assets/js/data/cache-list.js @@ -26,18 +26,13 @@ const include = [ '{{ "/assets/js/home.min.js" | relative_url }}', '{{ "/assets/js/page.min.js" | relative_url }}', '{{ "/assets/js/post.min.js" | relative_url }}', + '{{ "/assets/js/categories.min.js" | relative_url }}', /*--- HTML ---*/ /* Tabs */ - {% for tab in site.data.tabs %} - {% capture item %} - {%- unless tab.name == 'Home' -%} - /tabs/{{ tab.name | downcase }} - {%- endunless -%} - {{- "/" -}} - {% endcapture %} - '{{ item | relative_url }}', + {% for tab in site.tabs %} + '{{ tab.url }}', {% endfor %} /*--- Icons ---*/