Answer the question
In order to leave comments, you need to log in
How to hide Node.JS code on the server?
Hello, please tell me how to hide the Node.JS code from the eyes of users?
I wrote not a big script according to the lesson, but all its contents are visible in the browser ..
Please tell me which way to look, what to learn, what to read? Many thanks in advance!
Answer the question
In order to leave comments, you need to log in
No need to make a public directory in the root folder.
If you are using express.
If nginx.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question