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