From aa7dabcaaa2ad60543e7cf0a840ee5fb244db9cd Mon Sep 17 00:00:00 2001 From: zacharias Date: Mon, 27 Jul 2026 22:23:34 +0200 Subject: [PATCH] Updated URL.. This needs to be a config or CLI flag or smt --- src/rest.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()?