Fix the cache list on service worker
Adding '/index.html' to the cache storage
This commit is contained in:
parent
18f6c6ac4e
commit
9636612755
1 changed files with 3 additions and 2 deletions
|
@ -19,11 +19,12 @@ const include = [
|
||||||
'{{ "/sw.js" | relative_url }}',
|
'{{ "/sw.js" | relative_url }}',
|
||||||
|
|
||||||
/* --- HTML --- */
|
/* --- HTML --- */
|
||||||
|
'{{ "/index.html" | relative_url }}',
|
||||||
|
'{{ "/404.html" | relative_url }}',
|
||||||
{% for tab in site.tabs %}
|
{% for tab in site.tabs %}
|
||||||
'{{ tab.url }}',
|
'{{ tab.url }}',
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
'{{ "/404.html" | relative_url }}',
|
|
||||||
|
|
||||||
/* --- Icons --- */
|
/* --- Icons --- */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue