Skip to content

request.reply.redirect going to '0.0.0.0' #748

Description

@toddhickerson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

supportQuestions, discussions, and general support

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions