mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-02-17 14:06:14 +08:00
prototyping forward request
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// https://tools.ietf.org/rfc/rfc5128.txt
|
||||
// https://blog.csdn.net/bytxl/article/details/44344855
|
||||
|
||||
use hbb_common::{env_logger, log, tokio, ResultType};
|
||||
use hbb_common::{env_logger::*, log, tokio, ResultType};
|
||||
use hbbs::*;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> ResultType<()> {
|
||||
env_logger::init();
|
||||
init_from_env(Env::default().filter_or(DEFAULT_FILTER_ENV, "info"));
|
||||
let addr = "0.0.0.0:21116";
|
||||
log::info!("Listening on {}", addr);
|
||||
RendezvousServer::start(&addr).await?;
|
||||
|
||||
Reference in New Issue
Block a user