docker support
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
target/
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1 @@
|
|||||||
/target
|
target/
|
||||||
@@ -26,7 +26,7 @@ async fn main() -> std::io::Result<()> {
|
|||||||
use actix_web::{App, HttpServer};
|
use actix_web::{App, HttpServer};
|
||||||
|
|
||||||
HttpServer::new(|| App::new().service(index))
|
HttpServer::new(|| App::new().service(index))
|
||||||
.bind(("0.0.0.0", 2137))?
|
.bind(("192.168.0.10", 2137))?
|
||||||
.run()
|
.run()
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user