Skip to content

A self-hosted dashboard that puts all your feeds in one place

Rename service to reduce ambiguity

Svilen Markov1b3f022b2dcc
diff --git a/docs/configuration.md b/docs/configuration.md
index a000b94..231c04c 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1765,14 +1765,14 @@ Preview:
| allow-insecure | bool | no | false |
| url | string | yes | |
| username | string | when service is `adguard` | |
-| password | string | when service is `adguard` or `pihole6` | |
+| password | string | when service is `adguard` or `pihole-v6` | |
| token | string | when service is `pihole` | |
| hide-graph | bool | no | false |
| hide-top-domains | bool | no | false |
| hour-format | string | no | 12h |
##### `service`
-Either `adguard`, or `pihole` (major version 5 and below) or `pihole6` (major version 6 and above).
+Either `adguard`, or `pihole` (major version 5 and below) or `pihole-v6` (major version 6 and above).
##### `allow-insecure`
Whether to allow invalid/self-signed certificates when making the request to the service.
diff --git a/internal/glance/widget-dns-stats.go b/internal/glance/widget-dns-stats.go
index b8d6447..9c04fbe 100644
--- a/internal/glance/widget-dns-stats.go
+++ b/internal/glance/widget-dns-stats.go
@@ -61,10 +61,10 @@ func (widget *dnsStatsWidget) initialize() error {
switch widget.Service {
case "adguard":
- case "pihole6":
+ case "pihole-v6":
case "pihole":
default:
- return errors.New("service must be one of: adguard, pihole6, pihole")
+ return errors.New("service must be one of: adguard, pihole-v6, pihole")
}
return nil