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