mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Add "processData: false" to all JSON data we send
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -137,6 +137,8 @@ function saveSettings() {
|
||||
$.ajax({
|
||||
url: "/api/config",
|
||||
method: "PATCH",
|
||||
dataType: "json",
|
||||
processData: false,
|
||||
data: JSON.stringify({ config: settings }),
|
||||
contentType: "application/json; charset=utf-8",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user