Skip to content

Commit

Permalink
Merge pull request #4 from purduehackers/print-fix
Browse files Browse the repository at this point in the history
Fix printer request
  • Loading branch information
ImTheSquid authored Dec 5, 2024
2 parents 6d2764e + 3beba0c commit 27e52c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sign-firmware"
version = "0.1.4"
version = "0.1.5"
authors = ["Jack Hogan <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub async fn post_event(event: PrinterEvent) -> anyhow::Result<()> {
let request = Request::builder()
.method("POST")
.header("User-Agent", "PHSign/1.0.0")
.header("Host", "purduehackers.com")
.header("Content-Type", "application/json")
.uri(url)
.body(serde_json::to_string(&event.message())?)
.unwrap();
Expand Down

0 comments on commit 27e52c9

Please sign in to comment.