Happy to hear that it helps you. :)
The same applies to SendGrid's API in the node env, except it's hard coded it doesn't work.
You can refer env.example file. Where you can find configured variables & its examples.
I don't know if I should ask this here or on GitHub, but when I deploy to heroku, I have issues with the environment variables.
"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60
A log of the environment variable shows that the variable in heroku settings is correct.
never mind, figured it out. I wrapped the variables using ' ', i removed it and it works
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Happy to hear that it helps you. :)
The same applies to SendGrid's API in the node env, except it's hard coded it doesn't work.
You can refer env.example file. Where you can find configured variables & its examples.
I don't know if I should ask this here or on GitHub, but when I deploy to heroku, I have issues with the environment variables.
A log of the environment variable shows that the variable in heroku settings is correct.
never mind, figured it out. I wrapped the variables using ' ', i removed it and it works