code clean up

pull/1/head
Thomas Ballmann 3 years ago
parent 9748f07cfa
commit 0505b8b099

@ -259,7 +259,7 @@ void setupApiSettings()
NVS.commit(); NVS.commit();
loadSettingsColor(); loadSettingsColor();
request->send(200, "application/ld+json; charset=utf-8", "{}"); request->send(200, "application/json; charset=utf-8", "{}");
} }); } });
} }
@ -391,7 +391,7 @@ void setupApiWifi()
Serial.print(F("deserializeJson() failed with code ")); Serial.print(F("deserializeJson() failed with code "));
Serial.println(error.c_str()); Serial.println(error.c_str());
request->send(404, "application/ld+json; charset=utf-8", "{}"); request->send(404, "application/json; charset=utf-8", "{}");
} }
else else
{ {

Loading…
Cancel
Save