mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-01 21:23:12 +00:00
Enable vanilla mcdoc refresh
This commit is contained in:
@@ -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)}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user