diff --git a/Cargo.lock b/Cargo.lock index c1d2abc883ad..ca9bdaa44fa4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8319,6 +8319,7 @@ dependencies = [ "foundry-wallets", "futures", "mini-redis", + "once_cell", "rand", "rayon", "serde", diff --git a/server/src/main.rs b/server/src/main.rs index 388692976cef..a5052f0924c4 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -36,7 +36,7 @@ async fn cast_command_handler(path: web::Path<(u64, String, u64)>) -> impl Respo }; match run_cast_command(chain, tx, quick).await { - Ok(output) => HttpResponse::Ok().content_type("text/plain").body(output), + Ok(output) => HttpResponse::Ok().content_type("text/html").body(output), Err(e) => { println!("Error response: {}", e); HttpResponse::InternalServerError().body(format!("Error executing command: {}", e))