diff --git a/routes/reactMap.js b/routes/reactMap.js index 2da4cc0..f1a7777 100644 --- a/routes/reactMap.js +++ b/routes/reactMap.js @@ -1,6 +1,7 @@ module.exports = router => { router.get("/consumer", function (req, res, next) { console.log ("Agora vai abrir a página do React Client ..."); + const path = require('path'); res.sendFile(path.resolve(__dirname, 'client/public', 'build', 'index1.html')); }); }; \ No newline at end of file -- libgit2 0.21.2