Move url to env variable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user