Inform the user that the configuration is done

This commit is contained in:
Saifeddine ALOUI 2023-04-14 18:24:37 +02:00
parent 359b94ac2e
commit e8cc2dba78

View File

@ -112,9 +112,11 @@ fetch('/settings')
.then((response) => response.json())
.then((data) => {
console.log(data);
alert("Configuration set successfully")
})
.catch((error) => {
console.error('Error:', error);
alert("Error setting configuration")
});
});