Skip to content

Commit

Permalink
fix: Add md files to exclusion on trailing-whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kaynetik committed Oct 8, 2024
1 parent ef68574 commit 5dca00e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ repos:
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude: \.md$
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ The Data Proxy node has support for exposing status information through some end

The status endpoint has two routes:

- `/<statusEndpointsRoot>/health`
- `/<statusEndpointsRoot>/health`
Returns a JSON object with the following structure:

```json
Expand All @@ -214,7 +214,7 @@ The status endpoint has two routes:
}
```

- `/<statusEndpointsRoot>/pubkey`
- `/<statusEndpointsRoot>/pubkey`
Returns the public key of the node.
```json
{
Expand All @@ -241,5 +241,5 @@ The status endpoints can be configured in the config file:
```

- `root`: Root path for the status endpoints. Defaults to `status`.
- `apiKey`: Optionally secure the status endpoints with an API key. The `header` attribute is the header key that needs to be set, and `secret` is the value that it needs to be set to.
- `apiKey`: Optionally secure the status endpoints with an API key. The `header` attribute is the header key that needs to be set, and `secret` is the value that it needs to be set to.
The `statusEndpoints.apiKey.secret` attribute supports the `{$MY_ENV_VARIABLE}` syntax for injecting a value from the environment during start up.

0 comments on commit 5dca00e

Please sign in to comment.