Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorigor <ilaborie@gmail.com>2020-05-31 12:57:37 +0300
committerigor <ilaborie@gmail.com>2020-05-31 12:59:44 +0300
commit51b62291f23a2d54d45208e7b548059d5e75b552 (patch)
tree3ec858bdf3caec4d500f93a1f85ec790dd1c3b58
parente59e6e124904bf50ae2aae174ddd6312c27eec25 (diff)
Update the built stylesheet
-rw-r--r--static/sw.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/static/sw.js b/static/sw.js
index 46b66eb..3117dc2 100644
--- a/static/sw.js
+++ b/static/sw.js
@@ -22,7 +22,7 @@ if (workbox) {
maxEntries: 20, // Cache only 20 images.
maxAgeSeconds: 7 * 24 * 60 * 60, // Cache for a maximum of a week.
})
- ],
+ ]
})
);
@@ -31,7 +31,7 @@ if (workbox) {
/^https:\/\/fonts\.googleapis\.com/,
new workbox.strategies.StaleWhileRevalidate({
cacheName: 'google-fonts-stylesheets',
- }),
+ })
);
// Cache the underlying font files with a cache-first strategy for 1 year.
@@ -46,9 +46,9 @@ if (workbox) {
new workbox.expiration.Plugin({
maxAgeSeconds: 60 * 60 * 24 * 365,
maxEntries: 30,
- }),
- ],
- }),
+ })
+ ]
+ })
);