fix: Fix web platform issues

This commit is contained in:
yuluo 2024-04-24 01:42:14 +08:00
parent 38a33ea9b0
commit 0496adf6cf
4 changed files with 24 additions and 9 deletions

View file

@ -31,7 +31,7 @@ use hbb_common::tokio::sync::mpsc::UnboundedSender;
use hbb_common::tokio::sync::mpsc::{unbounded_channel, UnboundedReceiver};
use hbb_common::{
allow_err,
anyhow::Context,
anyhow::{anyhow, Context},
bail,
config::{
self, Config, LocalConfig, PeerConfig, PeerInfoSerde, Resolution, CONNECT_TIMEOUT,