File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -330,15 +330,18 @@ You can modify endpoints by configuring `access.endpoints` in your config:
330330settings:
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
340340By 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`** | ✅ |
You can’t perform that action at this time.
0 commit comments