From 748db285a6e5ce9285ddf036aa255f7db1691c1b Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 19 Dec 2023 16:17:53 +0100 Subject: [PATCH] fix ip --- server/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main.rs b/server/src/main.rs index 2931bd8..deef898 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1,6 +1,6 @@ use local_ip_address::local_ip; -use tide::Request; use tide::prelude::*; +use tide::Request; #[derive(Debug, Deserialize)] struct Sample { @@ -17,7 +17,7 @@ async fn main() -> tide::Result<()> { } else { println!("Starting server on port 8000. Could not get IP"); } - app.listen("127.0.0.1:8000").await?; + app.listen("0.0.0.0:8000").await?; Ok(()) }