Commit 0a70092af90428497e91f135c88b23b49746dd6c
1 parent
27e749e6
Exists in
master
V. 0.8.2 - Production test message.
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
bin/www
... | ... | @@ -27,6 +27,8 @@ if (process.env.NODE_ENV === 'production') { |
27 | 27 | // look at the index.htm file in the client directory |
28 | 28 | const path = require('path'); |
29 | 29 | app.get('*', (req, res) => { |
30 | + console.log ("NEXUS-__dirname: " + __dirname); | |
31 | + console.log ("NEXUS-res:" + res); | |
30 | 32 | res.sendFile(path.resolve(__dirname, 'client', 'build', 'index.html')); |
31 | 33 | }); |
32 | 34 | } | ... | ... |