request.reply.redirect used to go to the host uri that the GET page used. With version 0.16.0 and newer, redirects go to '0.0.0.0' since that was the server address used. However, on a Heroku deployment, you use 0.0.0.0 as the server IP address in the new.Hapi.Server() method. My redirect command looks like this:
request.reply.redirect('/error').send();
Would appreciate any help you could provide.
Thanks.
request.reply.redirect used to go to the host uri that the GET page used. With version 0.16.0 and newer, redirects go to '0.0.0.0' since that was the server address used. However, on a Heroku deployment, you use 0.0.0.0 as the server IP address in the new.Hapi.Server() method. My redirect command looks like this:
request.reply.redirect('/error').send();
Would appreciate any help you could provide.
Thanks.