Fix auto mute readme
This commit is contained in:
parent
20a188733d
commit
dbc6fc0d5f
@ -18,14 +18,16 @@ This plugins expect the following JSON format from public blocklists:
|
||||
For example:
|
||||
|
||||
```
|
||||
[
|
||||
{
|
||||
value: 'peertube.cpy.re'
|
||||
},
|
||||
{
|
||||
value: 'root@peertube.cpy.re'
|
||||
}
|
||||
]
|
||||
{
|
||||
data: [
|
||||
{
|
||||
value: 'peertube.cpy.re'
|
||||
},
|
||||
{
|
||||
value: 'root@peertube.cpy.re'
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
This plugin does not apply a diff, so if you want to remove an entity from the blocklist, add `action: 'remove'` to the object.
|
||||
@ -33,12 +35,15 @@ This plugin does not apply a diff, so if you want to remove an entity from the b
|
||||
For example, to revert `peertube.cpy.re` from the blocklist, update the JSON:
|
||||
|
||||
```
|
||||
[
|
||||
{
|
||||
value: 'peertube.cpy.re',
|
||||
action: 'remove'
|
||||
},
|
||||
{
|
||||
value: 'root@peertube.cpy.re'
|
||||
}
|
||||
]
|
||||
{
|
||||
data: [
|
||||
{
|
||||
value: 'peertube.cpy.re',
|
||||
action: 'remove'
|
||||
},
|
||||
{
|
||||
value: 'root@peertube.cpy.re'
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user