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 --- */