bind interface and refactor doc

This commit is contained in:
rustdesk committed 2026-07-24 10:56:56 +08:00
1 parent 5530085fda
commit 538aef71d1
12 files changed
+270 -127

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ pub(crate) struct PeerMap {
impl PeerMap {
pub(crate) async fn new() -> ResultType<Self> {
let db = std::env::var("DB_URL").unwrap_or({
let db = get_arg_opt("DB_URL").unwrap_or_else(|| {
let mut db = "db_v2.sqlite3".to_owned();
#[cfg(all(windows, not(debug_assertions)))]
{