Skip to content

Commit 14b7b19

Browse files
committed
Move keys
1 parent ecb3267 commit 14b7b19

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
APPLE_PASS_TYPE_IDENTIFIER=
22
APPLE_TEAM_IDENTIFIER=
3-
CERTIFICATE_PATH="cert.p12"
3+
CERTIFICATE_PATH="keys/cert.p12"
44
CERTIFICATE_PASSWORD=

keys/.gitkeep

Whitespace-only changes.

src/passes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub async fn passes_handler(Query(data): Query<PassModel>) -> Result<impl IntoRe
6161
pass.export_to_file(
6262
env::var("CERTIFICATE_PATH").unwrap().as_str(),
6363
env::var("CERTIFICATE_PASSWORD").unwrap().as_str(),
64-
Path::new("apple_wdrca.pem"),
64+
Path::new("keys/apple_wdrca.pem"),
6565
Path::new("./Eventpass.pkpass"),
6666
)
6767
.unwrap();

0 commit comments

Comments
 (0)