@
@
@neakeds2018-06-09 18:26:23
Nginx
@neakeds, 2018-06-09 18:26:23

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

1 answer(s)
A
Anton Spirin, 2018-06-09
_

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 question

Ask a Question

731 491 924 answers to any question