Closed jgrocha closed 10 years ago
Hi,
If the application is started by some other process than node (Passenger, for example), the processRoute will return an invalid route.
var route = { processRoute : function(req, resp, config){ var root = vPath.dirname(process.mainModule.filename),
The problem is process.mainModule.filename.
process.mainModule.filename
Fixed by https://github.com/jurisv/nodejs.extdirect/pull/20
Hi,
If the application is started by some other process than node (Passenger, for example), the processRoute will return an invalid route.
The problem is
process.mainModule.filename
.