diff --git a/src/config/config.h b/src/config/config.h index 2a906f2..b6aea70 100644 --- a/src/config/config.h +++ b/src/config/config.h @@ -21,7 +21,7 @@ #define MYGW 192,168,1,1 #define MYMAC { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED } -#define RAT_IP "192.168.1.173" +#define RAT_IP "192.168.0.148" #define RAT_PORT 8081 // make it configurable with some panel diff --git a/src/domain/Recorder.cpp b/src/domain/Recorder.cpp index 381f120..d7877d1 100644 --- a/src/domain/Recorder.cpp +++ b/src/domain/Recorder.cpp @@ -41,7 +41,7 @@ void Recorder::_transcribe() { int audioLength = _audio->getSize(); int jsonLength = payloadStart.length() + audioLength + payloadEnd.length(); - _http->printHeader("POST", "/save_audio", RAT_IP, "application/json"); + _http->printHeader("POST", "/save_to_file", RAT_IP, "application/json"); _http->printContentLength(jsonLength); this->_printContent(payloadStart, payloadEnd, _http->getClient());