From e25d02539cfc7f985b1c2af4ed0d8d7ba22a0a66 Mon Sep 17 00:00:00 2001 From: Jose Maria Villac Pinheiro Date: Mon, 23 Jul 2018 11:47:09 -0300 Subject: [PATCH] V. 0.7.13 - Production test --- routes/reactMap.js | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) 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