Add "processData: false" to all JSON data we send

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-10-13 09:44:01 +02:00
parent 1146248964
commit 43c8ede674
10 changed files with 19 additions and 0 deletions

View File

@@ -119,6 +119,8 @@ function piholeChange(action, duration) {
$.ajax({
url: "/api/dns/blocking",
method: "POST",
dataType: "json",
processData: false,
data: JSON.stringify({
blocking: action === "enable",
timer: parseInt(duration, 10) > 0 ? parseInt(duration, 10) : null,