only the page with require("dotenv").config is seeing values
Daxcor69 opened this issue · 2 comments
Daxcor69 commented
I might have missed something in the instructions, I was under the impression that I only had to include the require only once on the entry page of my application, and then the process.env (my values) would be available on all pages without requiring it on each page. This doesn't seem to be the case. Is this the expected default behavior?
I see the preload directive, is this how this is accomplished?
thanks
Brad
Daxcor69 commented
nm I removed dotenv and went with a different solution.