Commit e25d02539cfc7f985b1c2af4ed0d8d7ba22a0a66

Authored by José Maria Villac Pinheiro
1 parent 27528c1b

V. 0.7.13 - Production test

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
routes/reactMap.js
1 1 module.exports = router => {
2 2 router.get("/consumer", function (req, res, next) {
3 3 console.log ("Agora vai abrir a página do React Client ...");
  4 + const path = require('path');
4 5 res.sendFile(path.resolve(__dirname, 'client/public', 'build', 'index1.html'));
5 6 });
6 7 };
7 8 \ No newline at end of file
... ...