Skip to content

Commit b09fbc1

Browse files
Automated README update (#113)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9dccd09 commit b09fbc1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,18 @@ You can modify endpoints by configuring `access.endpoints` in your config:
330330
settings:
331331
access:
332332
endpoints:
333-
- !/v1/register
334-
- !/v1/unregister
335-
- !/v1/qrcodelink
336-
- !/v1/contacts
333+
- "!/v1/register"
334+
- "!/v1/unregister"
335+
- "!/v1/qrcodelink"
336+
- "!/v1/contacts"
337337
- /v2/send
338338
```
339339

340340
By default adding an endpoint explictly allows access to it, use `!` to block it instead.
341341

342+
> [!IMPORTANT]
343+
> When using `!` to block you must enclose the endpoint with quotes, like in the example above.
344+
342345
| Config (Allow) | (Block) | Result | | | |
343346
| :------------- | :------------- | :--------: | --- | :---------------: | --- |
344347
| `/v2/send` | `unset` | **all** | 🛑 | **`/v2/send`** | ✅ |

0 commit comments

Comments
 (0)