chore: forceLogging on prd
This commit is contained in:
parent
9285372b26
commit
91067beb40
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import { logInfo } from './utils/logger'
|
||||||
* @see https://ayco.io/n/@ayco/astro-sw
|
* @see https://ayco.io/n/@ayco/astro-sw
|
||||||
*/
|
*/
|
||||||
const cacheName = `${__prefix ?? 'app'}-v${__version + '-' + Date.now()}`
|
const cacheName = `${__prefix ?? 'app'}-v${__version + '-' + Date.now()}`
|
||||||
const forceLogging = false;
|
const forceLogging = true;
|
||||||
|
|
||||||
const addResourcesToCache = async (resources) => {
|
const addResourcesToCache = async (resources) => {
|
||||||
const cache = await caches.open(cacheName);
|
const cache = await caches.open(cacheName);
|
||||||
|
|
Loading…
Reference in a new issue