Number as env var does not work
I have an .env var set like this
PUSH_INVITE_DELAY_MINUTES=0
In my code I am calling it like this
But PUSH_INVITE_DELAY_MINUTES
still returns 30 why?!6 Replies
If I log
process.env.PUSH_INVITE_DELAY_MINUTES
I get the correct value set in the env -> 0use ?? instead of ||
This worked
Buut seems long
because
||
uses ==
??
uses ===
that makes sense
thank you going to try it out again
wait seriously??