RS_PUB_KEY
This commit is contained in:
parent
06ce3661f4
commit
a71fa3f7ac
@ -69,6 +69,7 @@ pub const RENDEZVOUS_SERVERS: &'static [&'static str] = &[
|
|||||||
"rs-sg.rustdesk.com",
|
"rs-sg.rustdesk.com",
|
||||||
"rs-cn.rustdesk.com",
|
"rs-cn.rustdesk.com",
|
||||||
];
|
];
|
||||||
|
pub const RS_PUB_KEY: &'static str = "OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=";
|
||||||
pub const RENDEZVOUS_PORT: i32 = 21116;
|
pub const RENDEZVOUS_PORT: i32 = 21116;
|
||||||
pub const RELAY_PORT: i32 = 21117;
|
pub const RELAY_PORT: i32 = 21117;
|
||||||
|
|
||||||
|
@ -371,7 +371,7 @@ impl Client {
|
|||||||
conn: &mut Stream,
|
conn: &mut Stream,
|
||||||
) -> ResultType<()> {
|
) -> ResultType<()> {
|
||||||
let rs_pk = get_rs_pk(if key.is_empty() {
|
let rs_pk = get_rs_pk(if key.is_empty() {
|
||||||
"OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw="
|
hbb_common::config::RS_PUB_KEY
|
||||||
} else {
|
} else {
|
||||||
key
|
key
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user