My is there c:\nodejs\www\project\bin\server.js
My views are in c:\nodejs\www\project\views
Then in my server.js
I have:
.set('views', __dirname + '/views')
But the generated path is: c:\nodejs\www\project\bin\views
How to get the parent of bin
folder?
I use Express and Ejs.
Regards