diff options
-rwxr-xr-x | diplonat_debug | 10 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/diplonat_debug b/diplonat_debug deleted file mode 100755 index 0009865..0000000 --- a/diplonat_debug +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# http://127.0.0.1:8500/v1/catalog/node/rincevent?index=0 -# then look at X-Consul-Index -export DIPLONAT_PRIVATE_IP=10.3.3.37 -export DIPLONAT_REFRESH_TIME=60 -export DIPLONAT_EXPIRATION_TIME=180 -export DIPLONAT_CONSUL_NODE_NAME=rincevent - -./target/debug/diplonat diff --git a/src/main.rs b/src/main.rs index 7a33bab..1a5c628 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,7 +57,7 @@ async fn main() { Err(e) => return println!("unable to build configuration: {}", e), }; - let resp = reqwest::get("http://127.0.0.1:5000") + let resp = reqwest::get("http://127.0.0.1:8500") .await .unwrap() .json::<HashMap<String, String>>() |