mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: no store only manifest
This commit is contained in:
1 parent
0952d7e770
commit
f3140ce0af
1 file changed
+1
-3
@@ -52,9 +52,7 @@ export const averageDefinitions = fetch(asset('averages/manifest.json'), {
|
||||
cache: 'no-store',
|
||||
})
|
||||
.then((response) => response.json() as Promise<AverageDefinitionsManifest>)
|
||||
.then((manifest) =>
|
||||
fetch(asset(`averages/${manifest.latest}.pb`), { cache: 'no-store' }),
|
||||
)
|
||||
.then((manifest) => fetch(asset(`averages/${manifest.latest}.pb`)))
|
||||
.then((response) => response.arrayBuffer())
|
||||
.then((buffer) =>
|
||||
decode<AverageDefinitions>(
|
||||
|
||||
Reference in new issue
Block a user