▲ Ask EchoJS: Is it possible to change Express view folder based on where is the file that res.render() is called? ▼4 up and 0 down, posted by talyssonoc 3980 days ago 1 comment
mxxx 3980 days ago. link 1 point ▲ ▼off the top of my head, i'd go with: var path = require('path'); res.render(path.join(__dirname, 'someview.hjs'))