🐛 Expands the number of allowed endpoints
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ WiFiService wifiService;
|
|||||||
APService apService;
|
APService apService;
|
||||||
|
|
||||||
void setupServer() {
|
void setupServer() {
|
||||||
server.config.max_uri_handlers = 32 + WWW_ASSETS_COUNT;
|
server.config.max_uri_handlers = 50 + WWW_ASSETS_COUNT;
|
||||||
server.maxUploadSize = 1000000; // 1 MB;
|
server.maxUploadSize = 1000000; // 1 MB;
|
||||||
server.listen(80);
|
server.listen(80);
|
||||||
server.on("/api/features", feature_service::getFeatures);
|
server.on("/api/features", feature_service::getFeatures);
|
||||||
|
|||||||
Reference in New Issue
Block a user