feat: have test unswer code
This commit is contained in:
@@ -131,6 +131,7 @@ async fn main() -> std::io::Result<()> {
|
||||
.wrap(Logger::default())
|
||||
.app_data(web::Data::new(state.clone()))
|
||||
.route("/", web::post().to(connect_handler))
|
||||
.route("/test", web::post().to(test_handler))
|
||||
})
|
||||
.bind("0.0.0.0:8080")?
|
||||
.run()
|
||||
|
Reference in New Issue
Block a user