aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorrustdesk <[email protected]>2023-01-27 11:37:43 +0800
committerrustdesk <[email protected]>2023-01-27 11:37:43 +0800
commit2830be95a75e8cdd59c65697d2e77762982e305b (patch)
treea8be7f06f15a0cc3472cd61199d934ea4dfe436e /libs
parenta974906fdca2eb88d84e16bca1f89bc85accc1e3 (diff)
downloadrustdesk-server-2830be95a75e8cdd59c65697d2e77762982e305b.tar.gz
rustdesk-server-2830be95a75e8cdd59c65697d2e77762982e305b.zip
opt
Diffstat (limited to 'libs')
-rw-r--r--libs/hbb_common/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rs
index 943917a..8bea991 100644
--- a/libs/hbb_common/src/config.rs
+++ b/libs/hbb_common/src/config.rs
@@ -87,7 +87,7 @@ pub const RENDEZVOUS_SERVERS: &[&str] = &[
"rs-cn.rustdesk.com",
];
-pub const RS_PUB_KEY: &'static str = match option_env!("RS_PUB_KEY") {
+pub const RS_PUB_KEY: &str = match option_env!("RS_PUB_KEY") {
Some(key) if !key.is_empty() => key,
_ => "OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=",
};