FAQ Database Discussion Community

How to block routing to a page in the public folder

I'm trying to design my NodeJS application, but there is something I am confused about. In my application, I plan to put all of the frontend material in the folder /public and then put the line app.use(express.static(__dirname + '/public')); in my app.js file. So with this in place, the user...