fix: changes settings from dashboard page fixed

This commit is contained in:
Yurii
2025-12-21 12:47:37 +03:00
parent 3b038c4bd1
commit 069ba8e864

View File

@@ -491,6 +491,9 @@
if (modified) {
parameters.method = "POST";
parameters.body = JSON.stringify(newSettings);
parameters.headers = {
"Content-Type": "application/json"
};
}
const response = await fetch("/api/settings", parameters);