summaryrefslogtreecommitdiff
path: root/src/client/main.rs
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-09-14 11:06:38 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-09-14 11:06:38 +0800
commit9285dd6839ee15fd1426b1014ebef39cec07ab68 (patch)
tree2bb5284110cff32e9c81ae8234e83cef59d300e6 /src/client/main.rs
parent4259ab8d858bcbafe6a6c3f8d3be8979c61d80ac (diff)
httpconnector: impl ntfy
Diffstat (limited to 'src/client/main.rs')
-rw-r--r--src/client/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/main.rs b/src/client/main.rs
index bceaa82..1062ea3 100644
--- a/src/client/main.rs
+++ b/src/client/main.rs
@@ -5,5 +5,6 @@ mod connector;
mod executor;
fn main() {
- ConnectorManager::new(HTTPConnector::new("http://127.0.0.1").unwrap()).enter_loop();
+ let ip = "http://127.0.0.1:8080";
+ ConnectorManager::new(HTTPConnector::new(ip, ip).unwrap()).enter_loop();
}