Fix tabs url for service worker

This commit is contained in:
Cotes Chung 2021-04-19 15:21:31 +08:00
parent a9acaa669d
commit f0ce5ceb71

View file

@ -23,7 +23,7 @@ const resource = [
'{{ "/index.html" | relative_url }}',
'{{ "/404.html" | relative_url }}',
{% for tab in site.tabs %}
'{{ tab.url }}',
'{{ tab.url | relative_url }}',
{% endfor %}
/* --- Icons --- */