Fix #298 don't cache atlas UV mapping for now

This commit is contained in:
Misode
2022-10-20 20:48:10 +02:00
parent f6b6a6bf7d
commit 72d80e1158

View File

@@ -168,7 +168,7 @@ export async function fetchResources(versionId: VersionId) {
try {
const [models, uvMapping, atlas] = await Promise.all([
fetchAllPresets(versionId, 'model'),
cachedFetch(`${mcmeta(version, 'atlas')}/all/data.min.json`),
fetch(`${mcmeta(version, 'atlas')}/all/data.min.json`).then(r => r.json()),
loadImage(`${mcmeta(version, 'atlas')}/all/atlas.png`),
])
return { models, uvMapping, atlas }