diff --git a/src/rest.rs b/src/rest.rs index 6626aef..2c85979 100644 --- a/src/rest.rs +++ b/src/rest.rs @@ -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, 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()?