From a49619c98cbe305a2c998a11199ddd769ea4ea7d Mon Sep 17 00:00:00 2001 From: Cameron Cordes Date: Thu, 16 Jul 2020 20:18:38 -0400 Subject: [PATCH] Move url to env variable --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5cf5e5f..64a3aaf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -234,7 +234,7 @@ async fn main() -> std::io::Result<()> { .service(stream_video) .service(get_video_part) }) - .bind("192.168.10.23:8088")? + .bind(dotenv::var("BIND_URL").unwrap())? .bind("localhost:8088")? .run() .await