mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Revert "Fix AJAX JSON data (#2742)"
This reverts commit340d373711, reversing changes made to1ed1efdc91. Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user