merged
This commit is contained in:
@@ -9,6 +9,7 @@ use actix_web::error::{ErrorUnauthorized, ErrorInternalServerError as ServerErro
|
||||
use std::sync::{Arc, Mutex};
|
||||
use tokio::task::JoinHandle;
|
||||
|
||||
|
||||
mod data;
|
||||
|
||||
#[derive(Clone)]
|
||||
@@ -131,7 +132,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.app_data(web::Data::new(state.clone()))
|
||||
.route("/", web::post().to(connect_handler))
|
||||
})
|
||||
.bind("127.0.0.1:80")?
|
||||
.bind("0.0.0.0:8080")?
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
Reference in New Issue
Block a user