fixed deprecated way to reload cache

This commit is contained in:
leca 2025-01-31 17:37:16 +03:00
parent 69afb6b0df
commit f5a89a59c7
1 changed files with 2 additions and 2 deletions

View File

@ -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';
}