We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3be2cd commit 0fa3443Copy full SHA for 0fa3443
libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h
@@ -121,6 +121,7 @@ class StaticRequestHandler : public RequestHandler {
121
else if (path.endsWith(".css")) return "text/css";
122
else if (path.endsWith(".txt")) return "text/plain";
123
else if (path.endsWith(".js")) return "application/javascript";
124
+ else if (path.endsWith(".json")) return "application/json";
125
else if (path.endsWith(".png")) return "image/png";
126
else if (path.endsWith(".gif")) return "image/gif";
127
else if (path.endsWith(".jpg")) return "image/jpeg";
0 commit comments