feat(core): allow setting server hostname

This commit is contained in:
Aiden McClelland
2026-02-23 13:35:34 -07:00
parent 31352a72c3
commit 0724989792
11 changed files with 202 additions and 82 deletions

View File

@@ -211,12 +211,7 @@ pub async fn init(
start_net.start();
let net_ctrl = Arc::new(
NetController::init(
db.clone(),
&account.hostname,
cfg.socks_listen.unwrap_or(DEFAULT_SOCKS_LISTEN),
)
.await?,
NetController::init(db.clone(), cfg.socks_listen.unwrap_or(DEFAULT_SOCKS_LISTEN)).await?,
);
webserver.send_modify(|wl| wl.set_ip_info(net_ctrl.net_iface.watcher.subscribe()));
let os_net_service = net_ctrl.os_bindings().await?;