Commit 27528c1b0780745576004f386308003513d6383e
1 parent
cdd02bcc
Exists in
master
and in
1 other branch
V. 0.7.12 - Production test.
Showing
1 changed file
with
1 additions
and
1 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 | - res.sendFile ("client/public/index1.html"); | |
4 | + res.sendFile(path.resolve(__dirname, 'client/public', 'build', 'index1.html')); | |
5 | 5 | }); |
6 | 6 | }; |
7 | 7 | \ No newline at end of file | ... | ... |