mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-11-28 00:34:15 +00:00
bind interface and refactor doc
This commit is contained in:
1 parent
5530085fda
commit
538aef71d1
12 files changed
+270
-127
No files matched your search
+1
-1
@@ -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)))]
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user