Skip to content

Commit

Permalink
Move keys
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Sep 29, 2023
1 parent ecb3267 commit 14b7b19
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APPLE_PASS_TYPE_IDENTIFIER=
APPLE_TEAM_IDENTIFIER=
CERTIFICATE_PATH="cert.p12"
CERTIFICATE_PATH="keys/cert.p12"
CERTIFICATE_PASSWORD=
Empty file added keys/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion src/passes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub async fn passes_handler(Query(data): Query<PassModel>) -> Result<impl IntoRe
pass.export_to_file(
env::var("CERTIFICATE_PATH").unwrap().as_str(),
env::var("CERTIFICATE_PASSWORD").unwrap().as_str(),
Path::new("apple_wdrca.pem"),
Path::new("keys/apple_wdrca.pem"),
Path::new("./Eventpass.pkpass"),
)
.unwrap();
Expand Down

0 comments on commit 14b7b19

Please sign in to comment.