mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-02 19:18:44 +05:00
fix: changes settings from dashboard page fixed
This commit is contained in:
1 parent
3b038c4bd1
commit
069ba8e864
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user