forked from me-no-dev/ESPAsyncWebServer
return json object by default
This commit is contained in:
@@ -55,7 +55,7 @@ class AsyncJsonResponse: public AsyncAbstractResponse {
|
||||
JsonVariant _root;
|
||||
bool _isValid;
|
||||
public:
|
||||
AsyncJsonResponse(bool isArray): _isValid{false} {
|
||||
AsyncJsonResponse(bool isArray=false): _isValid{false} {
|
||||
_code = 200;
|
||||
_contentType = "text/json";
|
||||
if(isArray)
|
||||
|
Reference in New Issue
Block a user