From b937520f97443784a04fc293ae34b91fab026328 Mon Sep 17 00:00:00 2001 From: iranl Date: Sun, 2 Jun 2024 19:32:38 +0200 Subject: [PATCH] Update src/WebCfgServer.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: David GirĂ³n --- src/WebCfgServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebCfgServer.cpp b/src/WebCfgServer.cpp index ec7827f..1a77153 100644 --- a/src/WebCfgServer.cpp +++ b/src/WebCfgServer.cpp @@ -72,7 +72,7 @@ void WebCfgServer::initialize() } String response = ""; buildStatusHtml(response); - _server.send(200, "text/html", response); + _server.send(200, "application/json", response); }); _server.on("/favicon.ico", HTTP_GET, [&]() { if (_hasCredentials && !_server.authenticate(_credUser, _credPassword)) {