mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-05 20:52:04 -04:00
#560 Forgot to switch back to application/json
This commit is contained in:
1 parent
5249608dce
commit
bb9abf2dca
1 file changed
+2
-2
@@ -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("{");
|
||||
|
||||
Reference in new issue
Block a user