DEVELOPMENT ENVIRONMENT

~liljamo/wallhavenapirandom

eb80c06198dbd6a25e8dfd2bc7d4ae26c3e02202 — Jonni Liljamo 1 year, 8 months ago 752dc93
fix: bind ip was wrong lol
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +1 -1
@@ 96,7 96,7 @@ async fn random(args: web::Path<RandomArgs>) -> impl Responder {
async fn main() -> std::io::Result<()> {
    log::info!("startedth uppeth");
    HttpServer::new(|| App::new().service(random))
        .bind(("127.0.0.1", 3000))?
        .bind(("0.0.0.0", 3000))?
        .run()
        .await
}