fixed deprecated way to reload cache

This commit is contained in:
2025-01-31 17:37:16 +03:00
parent 69afb6b0df
commit f5a89a59c7

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