feat: secure proxy should work now as well
This commit is contained in:
parent
405a5e1ba1
commit
29f3ab6348
13 changed files with 335 additions and 101 deletions
|
|
@ -94,7 +94,7 @@ static OWN_IP_PRIVATE: Lazy<Ipv4Addr> = Lazy::new(|| {
|
|||
env::var("SERVER_IP")
|
||||
.ok()
|
||||
.and_then(|s| s.parse().ok())
|
||||
.expect("no public ip specified")
|
||||
.expect("no private ip specified")
|
||||
});
|
||||
|
||||
static OWN_IP_PUBLIC: Lazy<String> =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue