Move url to env variable

This commit is contained in:
Cameron Cordes
2020-07-16 20:18:38 -04:00
parent c90987d709
commit a49619c98c

View File

@@ -234,7 +234,7 @@ async fn main() -> std::io::Result<()> {
.service(stream_video) .service(stream_video)
.service(get_video_part) .service(get_video_part)
}) })
.bind("192.168.10.23:8088")? .bind(dotenv::var("BIND_URL").unwrap())?
.bind("localhost:8088")? .bind("localhost:8088")?
.run() .run()
.await .await