diff --git a/html/spoolman.html b/html/spoolman.html
index a961874..65d1325 100644
--- a/html/spoolman.html
+++ b/html/spoolman.html
@@ -68,6 +68,11 @@
document.getElementById('autoSend').checked = false;
document.getElementById('autoSendTime').value = '';
document.getElementById('bambuStatusMessage').innerText = 'Bambu Credentials removed!';
+ // Reload with forced cache refresh after short delay
+ setTimeout(() => {
+ window.location.replace('/');
+ location.reload(true);
+ }, 1500);
} else {
document.getElementById('bambuStatusMessage').innerText = 'Error while removing Bambu Credentials.';
}
@@ -109,6 +114,11 @@
.then(data => {
if (data.healthy) {
document.getElementById('bambuStatusMessage').innerText = 'Bambu Credentials saved!';
+ // Reload with forced cache refresh after short delay
+ setTimeout(() => {
+ window.location.replace('/');
+ location.reload(true);
+ }, 1500);
} else {
document.getElementById('bambuStatusMessage').innerText = 'Error while saving Bambu Credentials.';
}