diff options
| author | Fuwn <[email protected]> | 2021-12-22 03:46:53 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-12-22 03:46:53 +0000 |
| commit | 1e40df7fc2cbb77f8b1817ab78b74eff7488bcfa (patch) | |
| tree | 9f8e84dde55b9c3631a0a5018c3da62a3e136b9b | |
| parent | fix: more localhost ips (diff) | |
| download | whirl-1e40df7fc2cbb77f8b1817ab78b74eff7488bcfa.tar.xz whirl-1e40df7fc2cbb77f8b1817ab78b74eff7488bcfa.zip | |
chore(fmt): auto-format
| -rw-r--r-- | crates/whirl_server/src/lib.rs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/crates/whirl_server/src/lib.rs b/crates/whirl_server/src/lib.rs index 2c53ad6..7e7db98 100644 --- a/crates/whirl_server/src/lib.rs +++ b/crates/whirl_server/src/lib.rs @@ -119,7 +119,11 @@ pub mod make { pub fn distributor() -> JoinHandle<()> { tokio::spawn(async move { crate::distributor::Distributor::listen( - &*format!("{}:{}", Config::get().whirlsplash.ip, Config::get().distributor.port), + &*format!( + "{}:{}", + Config::get().whirlsplash.ip, + Config::get().distributor.port + ), ServerType::Auto, ) .await @@ -136,7 +140,11 @@ pub mod make { pub fn hub() -> JoinHandle<()> { tokio::spawn(async move { crate::hub::Hub::listen( - &*format!("{}:{}", Config::get().whirlsplash.ip, Config::get().hub.port), + &*format!( + "{}:{}", + Config::get().whirlsplash.ip, + Config::get().hub.port + ), ServerType::Room, ) .await |