Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fn main() -> Result<(), Box<dyn Error>> {
println!("\nFinal Output:\n{}", json_output);

// Send the output JSON via POST request to the specified URL
let post_url = "http://xenminer.mooo.com:5000/store_data";
let post_url = "http://xenblocks.io:5000/store_data";
let response = client.post(post_url)
.header("Content-Type", "application/json")
.body(json_output.clone()) // Clone json_output here
Expand Down