From 0cbff9878ea010e98ed6801de0feb08c239dfd77 Mon Sep 17 00:00:00 2001 From: Maple Date: Wed, 30 Jul 2025 22:42:12 +0200 Subject: [PATCH] fix a couple of things --- src/executables/common.rs | 6 +++--- src/executables/proxy_secure.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/executables/common.rs b/src/executables/common.rs index dd9ad91..3114436 100644 --- a/src/executables/common.rs +++ b/src/executables/common.rs @@ -12,14 +12,14 @@ pub static OWN_IP_PRIVATE: Lazy = Lazy::new(|| { env::var("SERVER_IP") .ok() .and_then(|s| s.parse().ok()) - .expect("no private ip specified") + .expect("SERVER_IP not specified") }); pub static OWN_IP_PUBLIC: Lazy = Lazy::new(|| { env::var("SERVER_IP_PUBLIC") .ok() .and_then(|s| s.parse().ok()) - .expect("no private ip specified") + .expect("SERVER_IP_PUBLIC not specified") }); pub static SERVER_PORT: Lazy = Lazy::new(|| { @@ -52,5 +52,5 @@ pub static FORWARD_DESTINATION: Lazy = env::var("FORWARD_DESTINATION") .ok() .and_then(|s| s.parse().ok()) - .expect("SECURE_EDGE_NODE_HOLDER not set") + .expect("FORWARD_DESTINATION not set") ); diff --git a/src/executables/proxy_secure.rs b/src/executables/proxy_secure.rs index 33e07fb..1d554f9 100644 --- a/src/executables/proxy_secure.rs +++ b/src/executables/proxy_secure.rs @@ -46,7 +46,7 @@ async fn main() { let mut socket_secure = router_secure .add_socket(VirtualPort::new(1, 10), Secure( "6f599f81", - AUTH_SERVER_ACCOUNT.clone() + SECURE_SERVER_ACCOUNT.clone() )) .await .expect("unable to add socket");