Skip to content

Commit

Permalink
docs: fix ratelimit example (#2905)
Browse files Browse the repository at this point in the history
Some fields are mixed case which is inconsistent with the rest of
example configs.

Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha authored Jan 22, 2025
1 parent c6d343a commit ececc9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/config-ratelimit.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"http": {
"address": "127.0.0.1",
"port": "8080",
"Ratelimit": {
"Rate": 10,
"Methods": [
"ratelimit": {
"rate": 10,
"methods": [
{
"Method": "GET",
"Rate": 5
"method": "GET",
"rate": 5
}
]
}
Expand Down

0 comments on commit ececc9c

Please sign in to comment.