fixed deprecated way to reload cache
This commit is contained in:
parent
69afb6b0df
commit
f5a89a59c7
|
@ -15,7 +15,7 @@ const uploadSkin = async (event) => {
|
||||||
body: formData
|
body: formData
|
||||||
})
|
})
|
||||||
|
|
||||||
location.reload(true);
|
window.location = window.location.href+'?eraseCache=true';
|
||||||
}
|
}
|
||||||
|
|
||||||
const uploadCape = async (event) => {
|
const uploadCape = async (event) => {
|
||||||
|
@ -35,7 +35,7 @@ const uploadCape = async (event) => {
|
||||||
body: formData
|
body: formData
|
||||||
})
|
})
|
||||||
|
|
||||||
location.reload(true);
|
window.location = window.location.href+'?eraseCache=true';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue