diff options
| author | Fuwn <[email protected]> | 2021-12-22 03:44:13 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-12-22 03:44:13 +0000 |
| commit | 4c7cd1eedc2c1ea531644c070e797b2bb6c77962 (patch) | |
| tree | 7deba23407f42402c2fee32b35629dbd8cd21875 /crates/whirl_server/src | |
| parent | fix(config): localhost ips (diff) | |
| download | whirl-4c7cd1eedc2c1ea531644c070e797b2bb6c77962.tar.xz whirl-4c7cd1eedc2c1ea531644c070e797b2bb6c77962.zip | |
fix: more localhost ips
Diffstat (limited to 'crates/whirl_server/src')
| -rw-r--r-- | crates/whirl_server/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/whirl_server/src/lib.rs b/crates/whirl_server/src/lib.rs index 7f9df14..2c53ad6 100644 --- a/crates/whirl_server/src/lib.rs +++ b/crates/whirl_server/src/lib.rs @@ -119,7 +119,7 @@ pub mod make { pub fn distributor() -> JoinHandle<()> { tokio::spawn(async move { crate::distributor::Distributor::listen( - &*format!("0.0.0.0:{}", Config::get().distributor.port), + &*format!("{}:{}", Config::get().whirlsplash.ip, Config::get().distributor.port), ServerType::Auto, ) .await @@ -136,7 +136,7 @@ pub mod make { pub fn hub() -> JoinHandle<()> { tokio::spawn(async move { crate::hub::Hub::listen( - &*format!("0.0.0.0:{}", Config::get().hub.port), + &*format!("{}:{}", Config::get().whirlsplash.ip, Config::get().hub.port), ServerType::Room, ) .await |