We can ignore ├── ecosystem.config.js # PM2 configuration
"Application Startup File" is `app.js`
this nodejs runs on Plesk Panel
issue I can able to direct access the js code inside the app.js when I try to access like `[HOST]/app.js`
How can I prevent direct access to `app.js`
When anyone accesses 'example.com/app.js' I m able to see all the code inside the app.js that is not safe and secure
Plesk has to understand the situation and find/provide the proper solution for this.
My project structure is given below
HOST...