Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit f34cfdd

Browse files
authored
update links (#42)
1 parent 4b48399 commit f34cfdd

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/src/cn/operation/block_list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
示例如下:
88

99
```shell
10-
curl --location --request POST 'http://localhost:5000/block' \
10+
curl --location --request POST 'http://localhost:5000/admin/block' \
1111
--header 'Content-Type: application/json' \
1212
-d '{
1313
"operation":"Add",
@@ -32,7 +32,7 @@ curl --location --request POST 'http://localhost:5000/block' \
3232
示例如下:
3333

3434
```shell
35-
curl --location --request POST 'http://localhost:5000/block' \
35+
curl --location --request POST 'http://localhost:5000/admin/block' \
3636
--header 'Content-Type: application/json' \
3737
-d '{
3838
"operation":"Set",
@@ -55,7 +55,7 @@ curl --location --request POST 'http://localhost:5000/block' \
5555
如果你想把表从黑名单中移除,可以使用如下命令:
5656

5757
```shell
58-
curl --location --request POST 'http://localhost:5000/block' \
58+
curl --location --request POST 'http://localhost:5000/admin/block' \
5959
--header 'Content-Type: application/json' \
6060
-d '{
6161
"operation":"Remove",

docs/src/en/operation/block_list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ If you want to reject query for a table, you can add table name to 'read_block_l
77
### Example
88

99
```shell
10-
curl --location --request POST 'http://localhost:5000/block' \
10+
curl --location --request POST 'http://localhost:5000/admin/block' \
1111
--header 'Content-Type: application/json' \
1212
-d '{
1313
"operation":"Add",
@@ -32,7 +32,7 @@ You can use set operation to clear exist tables and set new tables to 'read_bloc
3232
### Example
3333

3434
```shell
35-
curl --location --request POST 'http://localhost:5000/block' \
35+
curl --location --request POST 'http://localhost:5000/admin/block' \
3636
--header 'Content-Type: application/json' \
3737
-d '{
3838
"operation":"Set",
@@ -57,7 +57,7 @@ You can remove tables from 'read_block_list' like following example.
5757
### Example
5858

5959
```shell
60-
curl --location --request POST 'http://localhost:5000/block' \
60+
curl --location --request POST 'http://localhost:5000/admin/block' \
6161
--header 'Content-Type: application/json' \
6262
-d '{
6363
"operation":"Remove",

0 commit comments

Comments
 (0)