Change interface
This commit is contained in:
parent
662f083daa
commit
ba712b0846
@ -121,6 +121,6 @@ fn main() -> Result<()> {
|
|||||||
// .default_service(web::resource("").route(web::get().to_async(p404)))
|
// .default_service(web::resource("").route(web::get().to_async(p404)))
|
||||||
})
|
})
|
||||||
// .workers(OPT.workers)
|
// .workers(OPT.workers)
|
||||||
.bind("127.0.0.1:8080")?
|
.bind("0.0.0.0:8080")?
|
||||||
.run()?)
|
.run()?)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user