mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix: net/nat retain https scheme for external (#13507)
This commit is contained in:
@ -35,7 +35,7 @@ use serde_with::{DeserializeFromStr, SerializeDisplay};
|
||||
///
|
||||
/// Taken from: <https://stackoverflow.com/questions/3253701/get-public-external-ip-address>
|
||||
const EXTERNAL_IP_APIS: &[&str] =
|
||||
&["http://ipinfo.io/ip", "http://icanhazip.com", "http://ifconfig.me"];
|
||||
&["https://ipinfo.io/ip", "https://icanhazip.com", "https://ifconfig.me"];
|
||||
|
||||
/// All builtin resolvers.
|
||||
#[derive(Debug, Clone, Copy, Eq, PartialEq, Default, Hash)]
|
||||
|
||||
Reference in New Issue
Block a user