|
@ -24,7 +24,7 @@ async fn main() -> std::io::Result<()> { |
|
|
.route("/cyberpreneur", web::get().to(route::cyber))
|
|
|
.route("/cyberpreneur", web::get().to(route::cyber))
|
|
|
.route("/offgrid", web::get().to(route::off))
|
|
|
.route("/offgrid", web::get().to(route::off))
|
|
|
})
|
|
|
})
|
|
|
.bind("127.0.0.1:5000")?
|
|
|
|
|
|
|
|
|
.bind("0.0.0.0:5000")?
|
|
|
.run()
|
|
|
.run()
|
|
|
.await
|
|
|
.await
|
|
|
}
|
|
|
}
|