mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
fix: cache
This commit is contained in:
1 parent
b216c1e6b8
commit
729a45f8a8
1 file changed
+1
-1
@@ -17,7 +17,7 @@ const production = argv.includes('--production');
|
|||||||
const startTime = Date.now();
|
const startTime = Date.now();
|
||||||
const indexableRegions = [...REGIONS];
|
const indexableRegions = [...REGIONS];
|
||||||
const preDiscoveredRaw = await fetch(
|
const preDiscoveredRaw = await fetch(
|
||||||
asset('averages/discovered.dids.lz4', !production),
|
asset('averages/ids.dids', !production),
|
||||||
).then(async (response) => {
|
).then(async (response) => {
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
const buffer = await response.arrayBuffer();
|
const buffer = await response.arrayBuffer();
|
||||||
|
|||||||
Reference in new issue
Block a user