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