[patch #9548] Add .json to list of SSI file extensions

Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
Mike Kleshov
2018-01-22 19:49:10 +01:00
committed by goldsimon
parent 76826c1622
commit 84fcd6290e
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ static const tHTTPHeader g_psHTTPHeaders[] = {
#if LWIP_HTTPD_SSI
static const char *const g_pcSSIExtensions[] = {
".shtml", ".shtm", ".ssi", ".xml"
".shtml", ".shtm", ".ssi", ".xml", ".json"
};
#define NUM_SHTML_EXTENSIONS LWIP_ARRAYSIZE(g_pcSSIExtensions)
#endif /* LWIP_HTTPD_SSI */