sw cache auto update

This commit is contained in:
fly_mc 2024-10-21 01:54:08 +08:00
parent d7a2368856
commit 667131d7cc

View file

@ -12,7 +12,7 @@ import { createEmptyNotification, createNotification } from '@/scripts/create-no
import { swLang } from '@/scripts/lang.js';
import * as swos from '@/scripts/operations.js';
const CACHE_NAME = 'pari-cache-0';
const CACHE_NAME = 'pari-cache-${_VERSION_}';
const urlsToCache = [
'/',
'/emoji',