1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-06-07 16:17:50 +00:00

Fix the cache list on service worker

Adding '/index.html' to the cache storage
This commit is contained in:
Cotes Chung 2021-03-23 15:42:10 +08:00
parent 18f6c6ac4e
commit 9636612755

View File

@ -19,11 +19,12 @@ const include = [
'{{ "/sw.js" | relative_url }}',
/* --- HTML --- */
'{{ "/index.html" | relative_url }}',
'{{ "/404.html" | relative_url }}',
{% for tab in site.tabs %}
'{{ tab.url }}',
{% endfor %}
'{{ "/404.html" | relative_url }}',
/* --- Icons --- */