Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/esp-link/commit/9e8bba88ba44c9b2268910045e6c0250a8dfc5e3 You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix REST_SetHeader, fixes #276

pull/326/head V3.2.45.alpha
Thorsten von Eicken 8 years ago
parent d94628cbe6
commit 9e8bba88ba
No known key found for this signature in database
GPG Key ID: C7F972A59D834B46
  1. 4
      rest/rest.c

@ -302,8 +302,8 @@ REST_SetHeader(CmdPacket *cmd) {
RestClient *client = restClient + (clientNum % MAX_REST);
// Get header selector
uint32_t header_index;
if (cmdPopArg(&req, (uint8_t*)&header_index, 4)) return;
uint8_t header_index;
if (cmdPopArg(&req, &header_index, 1)) return;
// Get header value
uint16_t len = cmdArgLen(&req);

Loading…
Cancel
Save