diff --git a/src/WebCfgServer.cpp b/src/WebCfgServer.cpp
index 4bf2f25..a9fa73b 100644
--- a/src/WebCfgServer.cpp
+++ b/src/WebCfgServer.cpp
@@ -523,7 +523,7 @@ esp_err_t WebCfgServer::buildSSIDListHtml(PsychicRequest *request)
_network->scan(true, false);
createSsidList();
- PsychicStreamResponse response(request, "text/plain");
+ PsychicStreamResponse response(request, "text/html");
response.beginSend();
for (int i = 0; i < _ssidList.size(); i++)
@@ -575,7 +575,7 @@ void WebCfgServer::createSsidList()
esp_err_t WebCfgServer::buildWifiConnectHtml(PsychicRequest *request)
{
String header = "";
- PsychicStreamResponse response(request, "text/plain");
+ PsychicStreamResponse response(request, "text/html");
response.beginSend();
buildHtmlHeader(&response, header);
response.print("
Available WiFi networks
");
@@ -741,7 +741,7 @@ bool WebCfgServer::processWiFi(PsychicRequest *request, String& message)
esp_err_t WebCfgServer::buildOtaHtml(PsychicRequest *request, bool debug)
{
- PsychicStreamResponse response(request, "text/plain");
+ PsychicStreamResponse response(request, "text/html");
response.beginSend();
buildHtmlHeader(&response);
@@ -1104,7 +1104,7 @@ esp_err_t WebCfgServer::handleOtaUpload(PsychicRequest *request, const String& f
esp_err_t WebCfgServer::buildConfirmHtml(PsychicRequest *request, const String &message, uint32_t redirectDelay, bool redirect)
{
- PsychicStreamResponse response(request, "text/plain");
+ PsychicStreamResponse response(request, "text/html");
response.beginSend();
String header;
@@ -3272,7 +3272,7 @@ void WebCfgServer::processGpioArgs(PsychicRequest *request)
esp_err_t WebCfgServer::buildImportExportHtml(PsychicRequest *request)
{
- PsychicStreamResponse response(request, "text/plain");
+ PsychicStreamResponse response(request, "text/html");
response.beginSend();
buildHtmlHeader(&response);
response.print("