1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-07 06:01:35 +03:00

additional mimetable fixes, additional string moves to progmem (#4371)

This commit is contained in:
Develo
2018-02-16 16:56:33 -03:00
committed by GitHub
parent bb90e12ea0
commit 5328a8b91e
3 changed files with 35 additions and 29 deletions

View File

@ -91,7 +91,8 @@ public:
if (!_isFile) {
// Base URI doesn't point to a file.
// If a directory is requested, look for index file.
if (requestUri.endsWith("/")) requestUri += "index.htm";
if (requestUri.endsWith("/"))
requestUri += "index.htm";
// Append whatever follows this URI in request to get the file path.
path += requestUri.substring(_baseUriLength);