Node service path problem

  node.js, question

Join me. I have a server js file in the bulid directory under the root directory. After execution, I will listen to localhost: World Wide Web Publishing Service, and then enter this directory to execute. So where is the root directory of the server at this time? Under build or root directory?

The root directory of the server is the root directory, and build is just a folder, equivalent to a path.