Answer the question
In order to leave comments, you need to log in
How to add ENV variables on hosting for access from process.env.?
I am developing an application on NUXT and I have a dozen or two secret keys. When I was coding in PHP, everything was simple, because. the code from the PHP file cannot be pulled out and I just put the keys into one file without fear.
What about when developing with Node.js? Did I understand correctly that any server-side JS file can be viewed, which means you can’t just hide them?
Answer the question
In order to leave comments, you need to log in
And how do you look at them, they will be executed by a node in the same way as PHP files are executed by PHP
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question