mirror of
https://github.com/paricafe/misskey.git
synced 2025-02-17 13:37:29 -06:00
sw: static-assets cache
This commit is contained in:
parent
f27d2640dd
commit
8c65e9052f
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ import { swLang } from '@/scripts/lang.js';
|
|||
import * as swos from '@/scripts/operations.js';
|
||||
|
||||
const STATIC_CACHE_NAME = `misskey-static-${_VERSION_}`;
|
||||
const PATHS_TO_CACHE = ['/assets/', '/emoji/', '/twemoji/', '/fluent-emoji/', '/vite/'];
|
||||
const PATHS_TO_CACHE = ['/assets/', '/static-assets/', '/emoji/', '/twemoji/', '/fluent-emoji/', '/vite/'];
|
||||
|
||||
async function cacheWithFallback(cache, paths) {
|
||||
for (const path of paths) {
|
||||
|
|
Loading…
Add table
Reference in a new issue