aboutsummaryrefslogtreecommitdiff
path: root/src/routes/start.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/start.rs')
-rw-r--r--src/routes/start.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/start.rs b/src/routes/start.rs
index d16ea4e..2e6a648 100644
--- a/src/routes/start.rs
+++ b/src/routes/start.rs
@@ -28,7 +28,7 @@ pub async fn start(State(state): State<Arc<crate::AppState>>, headers: HeaderMap
28 28
29 let bind_addr = SETTINGS 29 let bind_addr = SETTINGS
30 .get_string("bindaddr") 30 .get_string("bindaddr")
31 .map_err(|err| WebolError::Server(Box::new(err)))?; 31 .unwrap_or("0.0.0.0:1111".to_string());
32 32
33 let _ = send_packet( 33 let _ = send_packet(
34 &bind_addr.parse().map_err(|err| WebolError::Server(Box::new(err)))?, 34 &bind_addr.parse().map_err(|err| WebolError::Server(Box::new(err)))?,