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

Slack notification fix #115

Merged
merged 2 commits into from
Aug 31, 2022
Merged

Slack notification fix #115

merged 2 commits into from
Aug 31, 2022

Conversation

patrick-levesque
Copy link
Contributor

This PR fixes an issue with Slack notifications. The health.notifications.slack.webhook_url config parameter is always empty when using the config helper for logging.channels.slack.url because it is not yet set when health.php is loaded. Using an env variable is safer and also adds flexibility for distinct Slack webhooks.

HEALTH_SLACK_WEBHOOK_URL env variable
Update docs
@freekmurze freekmurze merged commit 1253e8d into spatie:main Aug 31, 2022
@freekmurze
Copy link
Member

Thank you!

@patrick-levesque patrick-levesque deleted the slack-notification-fix branch August 31, 2022 14:44
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.

2 participants