Bit #32
Node tips: __dirname
will resolve to the directory the executing script resides in. So if your script resides in /home/sites/app.js
, __dirname
will resolve to /home/sites
.
Node tips: __dirname
will resolve to the directory the executing script resides in. So if your script resides in /home/sites/app.js
, __dirname
will resolve to /home/sites
.