Revert "Fix AJAX JSON data (#2742)"

This reverts commit 340d373711, reversing
changes made to 1ed1efdc91.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-10-13 09:41:10 +02:00
parent 2fbef7f40e
commit 1146248964
9 changed files with 21 additions and 25 deletions

View File

@@ -137,8 +137,7 @@ function saveSettings() {
$.ajax({
url: "/api/config",
method: "PATCH",
dataType: "json",
data: { config: settings },
data: JSON.stringify({ config: settings }),
contentType: "application/json; charset=utf-8",
})
.done(function () {