Skip to content

Commit

Permalink
Merge pull request #260 from larshanskrause/patch-1
Browse files Browse the repository at this point in the history
Fix some typos and suggest improvements in via-oh-dear.md
  • Loading branch information
freekmurze authored Feb 14, 2025
2 parents 604b985 + 0729862 commit 846a0c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/configuring-notifications/via-oh-dear.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Using this package, you can register a protected endpoint where [the application

Oh Dear will send an HTTP request to your application to a specific endpoint to get health check. Your application should respond with JSON containing the result of health checks.

You can add such an endpoint using the spatie/laravel-health package. To do this, must configure the `ohdear_endpoint_key` in the `health` config file.
You can add such an endpoint using the spatie/laravel-health package. To do this, must configure the values within the `oh_dear_endpoint` key in the `health` config file.

You can publish that `health` with this command:
You can publish that `health` file with this command:

```bash
php artisan vendor:publish --tag="health-config"
Expand Down Expand Up @@ -52,7 +52,7 @@ These are some of the default values in the published `health` config file.
],
```

To get started:
To get started (all options within `oh_dear_endpoint` key):

- set the `enabled` config option to `true`
- add a `secret` (we recommend putting it in the `.env` file, just like you would do for any application secret or password)
Expand Down

0 comments on commit 846a0c7

Please sign in to comment.