fix: no store only manifest

This commit is contained in:
TrèsAbhi committed 2024-07-17 13:15:21 -05:00
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>(