File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1765,14 +1765,14 @@ Preview:
17651765| allow-insecure | bool | no | false |
17661766| url | string | yes | |
17671767| username | string | when service is `adguard` | |
1768- | password | string | when service is `adguard` or `pihole6 ` | |
1768+ | password | string | when service is `adguard` or `pihole-v6 ` | |
17691769| token | string | when service is `pihole` | |
17701770| hide-graph | bool | no | false |
17711771| hide-top-domains | bool | no | false |
17721772| hour-format | string | no | 12h |
17731773
17741774# #### `service`
1775- Either `adguard`, or `pihole` (major version 5 and below) or `pihole6 ` (major version 6 and above).
1775+ Either `adguard`, or `pihole` (major version 5 and below) or `pihole-v6 ` (major version 6 and above).
17761776
17771777# #### `allow-insecure`
17781778Whether to allow invalid/self-signed certificates when making the request to the service.
Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ func (widget *dnsStatsWidget) initialize() error {
6161
6262 switch widget .Service {
6363 case "adguard" :
64- case "pihole6 " :
64+ case "pihole-v6 " :
6565 case "pihole" :
6666 default :
67- return errors .New ("service must be one of: adguard, pihole6 , pihole" )
67+ return errors .New ("service must be one of: adguard, pihole-v6 , pihole" )
6868 }
6969
7070 return nil
You can’t perform that action at this time.
0 commit comments