mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-03 04:15:53 +00:00
#560 Forgot to switch back to application/json
This commit is contained in:
parent
5249608dce
commit
bb9abf2dca
@ -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("{");
|
||||
|
Loading…
Reference in New Issue
Block a user