mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
Update mcschema version for 1.18.2-pre3
This commit is contained in:
@@ -36,7 +36,7 @@ export async function fetchData(versionId: string, collectionTarget: CollectionR
|
||||
|
||||
if (version.dynamic) {
|
||||
if (localStorage.getItem(CACHE_LATEST_VERSION) !== latestVersion) {
|
||||
await deleteMatching(url => url.startsWith(`${mcmetaUrl}/summary`))
|
||||
await deleteMatching(url => url.startsWith(`${mcmetaUrl}/summary/`) || url.startsWith(`${mcmetaUrl}/data/`))
|
||||
localStorage.setItem(CACHE_LATEST_VERSION, latestVersion)
|
||||
}
|
||||
version.ref = latestVersion
|
||||
|
||||
Reference in New Issue
Block a user