Updated URL..

This needs to be a config or CLI flag or smt
This commit is contained in:
2026-07-27 22:23:34 +02:00
parent c4526de216
commit aa7dabcaaa
+2 -2
View File
@@ -78,7 +78,7 @@ impl REST {
// enforcing this as the current REST API stack dose not support this.
message.stream = false;
let res = self.client
.post("http://localhost:8080/v1/message/send")
.post("http://10.0.1.102:8090/v1/message/send")
.json(&message)
.send()
.await?
@@ -90,7 +90,7 @@ impl REST {
pub async fn init(&mut self) -> Result<Vec<Message>, reqwest::Error> {
let res = self.client
.get("http://localhost:8080/v1/message/init")
.get("http://10.0.1.102:8090/v1/message/init")
.send()
.await?
.error_for_status()?