Update for #571 (i forgot to set the mime type)

This commit is contained in:
Jm Casler 2020-12-19 12:18:08 -08:00
parent b96ee7be72
commit fae9ea8b3b

View File

@ -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("/");