Skip to content

Help to import certificates #97

Discussion options

You must be logged in to vote

Hey there, @rafaelhecr, thanks for using passkit-generator!
What I can suggest to you, is to check the value of __dirname before returning and using path.resolve with it to get certificates.
Also, you might want to try to print the value of what has been read through fs.readFileSync before returning.

Also, you might want to set up a way to set your data as strings in process.env.

Let me know!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rafaelhecr
Comment options

@alexandercerutti
Comment options

Answer selected by alexandercerutti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants