mirror of https://github.com/knative/func.git
fix: actix listent on 0.0.0.0 (#1664)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
c6c0f7eb66
commit
ae1b0c5eef
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ async fn main() -> std::io::Result<()> {
|
|||
web::get().to(HttpResponse::Ok),
|
||||
)
|
||||
})
|
||||
.bind(("127.0.0.1", port))?
|
||||
.bind(("0.0.0.0", port))?
|
||||
.workers(1)
|
||||
.run()
|
||||
.await
|
||||
|
|
|
@ -25,7 +25,7 @@ async fn main() -> std::io::Result<()> {
|
|||
web::get().to(HttpResponse::Ok),
|
||||
)
|
||||
})
|
||||
.bind(("127.0.0.1", port))?
|
||||
.bind(("0.0.0.0", port))?
|
||||
.workers(1)
|
||||
.run()
|
||||
.await
|
||||
|
|
Loading…
Reference in New Issue