mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-08-25 23:56:42 +00:00
Update common.rs (#15924)
This commit is contained in:
+1
-1
@@ -1088,7 +1088,7 @@ fn get_api_server_(api: String, custom: String) -> String {
|
||||
#[inline]
|
||||
pub fn is_public(url: &str) -> bool {
|
||||
let url = url.to_ascii_lowercase();
|
||||
url.contains("rustdesk.com/") || url.ends_with("rustdesk.com")
|
||||
url.contains(".rustdesk.com")
|
||||
}
|
||||
|
||||
pub fn get_udp_punch_enabled() -> bool {
|
||||
|
||||
Reference in New Issue
Block a user