Enable vanilla mcdoc refresh

This commit is contained in:
Misode
2024-11-27 18:07:08 +01:00
parent f18b4baf73
commit c3d0f133ab
+1 -2
View File
@@ -50,8 +50,7 @@ export function getVersionChecksum(versionId: VersionId) {
export async function fetchVanillaMcdoc() {
try {
// TODO: enable refresh
return cachedFetch(vanillaMcdocUrl, { decode: res => res.arrayBuffer(), refresh: false })
return cachedFetch(vanillaMcdocUrl, { decode: res => res.arrayBuffer(), refresh: true })
} catch (e) {
throw new Error(`Error occured while fetching vanilla-mcdoc: ${message(e)}`)
}