fix
This commit is contained in:
parent
4367723a46
commit
27eb527cce
|
|
@ -6,7 +6,6 @@ import { simpleHash } from "./cache";
|
||||||
const encoder = new TextEncoder();
|
const encoder = new TextEncoder();
|
||||||
const brotli = await brotliPromise;
|
const brotli = await brotliPromise;
|
||||||
export const loadCachedBr = (hash: string, content: string) => {
|
export const loadCachedBr = (hash: string, content: string) => {
|
||||||
console.log(!g.cache.br[hash]);
|
|
||||||
if (!g.cache.br[hash]) {
|
if (!g.cache.br[hash]) {
|
||||||
if (!g.cache.br_progress.pending[hash]) {
|
if (!g.cache.br_progress.pending[hash]) {
|
||||||
g.cache.br_progress.pending[hash] = content;
|
g.cache.br_progress.pending[hash] = content;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue