diff --git a/src/meshwifi/meshhttp.cpp b/src/meshwifi/meshhttp.cpp index 0c8540344..d0940d06b 100644 --- a/src/meshwifi/meshhttp.cpp +++ b/src/meshwifi/meshhttp.cpp @@ -912,8 +912,8 @@ void handleRestart(HTTPRequest *req, HTTPResponse *res) void handleScanNetworks(HTTPRequest *req, HTTPResponse *res) { - // res->setHeader("Content-Type", "application/json"); - res->setHeader("Content-Type", "text/html"); + res->setHeader("Content-Type", "application/json"); + // res->setHeader("Content-Type", "text/html"); int n = WiFi.scanNetworks(); res->println("{");