Deploy website - based on ce204828de710adc7a3783a68abd22ab304718a2

This commit is contained in:
akiq2016 2023-02-19 16:05:45 +08:00
parent 1010b0329c
commit 576cd97d7e
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ function swCustom(params) {
// Cache responses from external resources
(0,workbox_routing__WEBPACK_IMPORTED_MODULE_0__.registerRoute)(context => {
return [/githubusercontent/].some(regex => context.url.href.match(regex));
return [/githubusercontent/, /\/awesome-interview\//].some(regex => context.url.href.match(regex));
}, new workbox_strategies__WEBPACK_IMPORTED_MODULE_1__.StaleWhileRevalidate());
}

File diff suppressed because one or more lines are too long

2
sw.js

File diff suppressed because one or more lines are too long