Skip to content

Commit

Permalink
wkd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Feb 6, 2024
1 parent 8d3310b commit 61e115a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added assets/files/publickey-binary.asc
Binary file not shown.
2 changes: 1 addition & 1 deletion src/pgp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ pub async fn pubkey() -> (HeaderMap, String) {
let mut resp_header = HeaderMap::new();
resp_header.insert("Content-Type", "application/octet-stream".parse().unwrap());
resp_header.insert("Access-Control-Allow-Origin", "*".parse().unwrap());
let keyraw = fs::read_to_string("assets/files/publickey.asc").unwrap();
let keyraw = fs::read_to_string("assets/files/publickey-binary.asc").unwrap();
(resp_header, keyraw)
}

0 comments on commit 61e115a

Please sign in to comment.