req.baseUrl is more right for current express version (3.x) => app.mountpath for 4.x