| 2709 | } |
| 2710 | |
| 2711 | void AmsWebServer::configFilePost() { |
| 2712 | snprintf_P(buf, BufferSize, RESPONSE_JSON, |
| 2713 | "true", |
| 2714 | "", |
| 2715 | performRestart ? "true" : "false" |
| 2716 | ); |
| 2717 | server.setContentLength(strlen(buf)); |
| 2718 | server.send(200, MIME_JSON, buf); |
| 2719 | } |
| 2720 | |
| 2721 | void AmsWebServer::configFileUpload() { |
| 2722 | if(!checkSecurity(1)) |
nothing calls this directly
no outgoing calls
no test coverage detected