From 27528c1b0780745576004f386308003513d6383e Mon Sep 17 00:00:00 2001 From: Jose Maria Villac Pinheiro Date: Mon, 23 Jul 2018 11:42:13 -0300 Subject: [PATCH] V. 0.7.12 - Production test. --- routes/reactMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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