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 }}',
|
||||
|
||||
/* --- HTML --- */
|
||||
|
||||
'{{ "/index.html" | relative_url }}',
|
||||
'{{ "/404.html" | relative_url }}',
|
||||
{% for tab in site.tabs %}
|
||||
'{{ tab.url }}',
|
||||
{% endfor %}
|
||||
'{{ "/404.html" | relative_url }}',
|
||||
|
||||
|
||||
/* --- Icons --- */
|
||||
|
||||
|
|
Loading…
Reference in a new issue