INNER CODE UNIT · Rust
default
upvpn/upvpn-app · upvpn-config/src/lib.rs:84
fn default() -> Self {
Self {
config_dir: CONFIG_DIR.get().unwrap().into(),
log_dir: LOG_DIR.get().unwrap().into(),
grpc_api_host_port: "grpcs://api.upvpn.app:44444".into(),
rest_api_host_port: "https://upvpn.app".into(),
socket_path: SOCKET_PATH.get().unwrap().into(),
daemon_log_filename: "upvpn-daemon.log".into(),
// IP of api.upvpn.app
allowed_endpoint_ipv4: IpAddr::V4(Ipv4Addr::new(168, 220, 80, 137)),
license_file_path: None,
google_client_id: Some(
"829217973088-2ctli5t6skoehr97l9jnh9qg4bndmsh2.apps.googleusercontent.com".into(),
),
}
}
}