From db016888cb8b8205dbc224fd005dbc7514ee8599 Mon Sep 17 00:00:00 2001 From: TheMEO Date: Tue, 22 Sep 2020 10:38:57 +0200 Subject: [PATCH] FIX MIME-Type for txt-suffix correct mime is text/plain instead of .txt --- libraries/ESP8266WebServer/src/detail/mimetable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266WebServer/src/detail/mimetable.cpp b/libraries/ESP8266WebServer/src/detail/mimetable.cpp index 8a36d0f888..5c6b654cc0 100644 --- a/libraries/ESP8266WebServer/src/detail/mimetable.cpp +++ b/libraries/ESP8266WebServer/src/detail/mimetable.cpp @@ -62,7 +62,7 @@ const Entry mimeTable[maxType] PROGMEM = { { kHtmlSuffix, kHtml }, { kHtmSuffix, kHtml }, - { kTxtSuffix, kTxtSuffix }, + { kTxtSuffix, kTxt }, #ifndef MIMETYPE_MINIMAL { kCssSuffix, kCss }, { kJsSuffix, kJs },