diff options
| author | Fuwn <[email protected]> | 2021-12-22 03:44:13 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-12-22 03:44:13 -0800 |
| commit | 1ab36672dc5441f4cc45cba2459be00971c8ccbb (patch) | |
| tree | 75465916005090ef814ab7aabfee174bb8a62c76 /crates/whirl_api/src | |
| parent | fix(config): localhost ips (diff) | |
| download | whirl-1ab36672dc5441f4cc45cba2459be00971c8ccbb.tar.xz whirl-1ab36672dc5441f4cc45cba2459be00971c8ccbb.zip | |
fix: more localhost ips
Diffstat (limited to 'crates/whirl_api/src')
| -rw-r--r-- | crates/whirl_api/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/whirl_api/src/lib.rs b/crates/whirl_api/src/lib.rs index ddee9ff..d3c3a0c 100644 --- a/crates/whirl_api/src/lib.rs +++ b/crates/whirl_api/src/lib.rs @@ -71,7 +71,8 @@ impl Api { pub fn make() -> tokio::task::JoinHandle<()> { tokio::spawn(async move { crate::Api::listen(&*format!( - "0.0.0.0:{}", + "{}:{}", + whirl_config::Config::get().whirlsplash.ip, whirl_config::Config::get().whirlsplash.api.port )) .await; |