Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure hostnames individually #20

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Configure hostnames individually #20

wants to merge 5 commits into from

Conversation

georgehemmings
Copy link
Contributor

Allow hostnames for success and failed to be specified

Previously the hostname specified for notification was used in all
scenarios. Success and Failed URLs do not need to be publicly accessible
so when developing locally these can be set to localhost, or a local
hostname.

If it isn't set, fallback to current host.
This frees DefaultUrlResolver from the global configuration instance.
This is necessary when multiple configurations are needed in the same
application.
Previously the hostname specified for notification was used in all
scenarios. Success and Failed URLs do not need to be publicly accessible
so when developing locally these can be set to localhost, or a local
hostname.
@georgehemmings
Copy link
Contributor Author

Build on change in #19

@MrChriZ
Copy link

MrChriZ commented Aug 12, 2019

Minor note: string notificationHostName; is left unused - where previously it was used by the property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants