fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user