reload page on successfull upload

This commit is contained in:
leca 2025-02-19 18:00:32 +03:00
parent 020a2ae815
commit cccaf58ec3
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@ const uploadSkin = async (event) => {
if (response.status != 200) {
alert(await response.text())
} else {
window.location.reload(true);
}
}
@ -39,6 +41,8 @@ const uploadCape = async (event) => {
if (response.status != 200) {
alert(await response.text())
} else {
window.location.reload(true);
}
}