From fae9ea8b3be57918d5477debb7e46caebfd0faa6 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 19 Dec 2020 12:18:08 -0800 Subject: [PATCH] Update for #571 (i forgot to set the mime type) --- src/meshwifi/meshhttp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshwifi/meshhttp.cpp b/src/meshwifi/meshhttp.cpp index c8f583752..23cbf58cf 100644 --- a/src/meshwifi/meshhttp.cpp +++ b/src/meshwifi/meshhttp.cpp @@ -388,8 +388,8 @@ void handleSpiffsBrowseStatic(HTTPRequest *req, HTTPResponse *res) { // jm - // res->setHeader("Content-Type", "application/json"); - res->setHeader("Content-Type", "text/html"); + res->setHeader("Content-Type", "application/json"); + // res->setHeader("Content-Type", "text/html"); File root = SPIFFS.open("/");