From f0ce5ceb718c8376657b9dbe313092aa50aadd7b Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Mon, 19 Apr 2021 15:21:31 +0800 Subject: [PATCH] Fix tabs url for service worker --- assets/js/data/swcache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/data/swcache.js b/assets/js/data/swcache.js index 8ef8893..0ca9374 100644 --- a/assets/js/data/swcache.js +++ b/assets/js/data/swcache.js @@ -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 --- */