docs: configure Pi-Hole v6 API with URL that ends with admin

pull/927/head
蔡鳳駿 2025-05-04 22:51:48 +08:00 committed by Bastien Wirtz
parent 1afa0afd00
commit 517de68e74
1 changed files with 2 additions and 1 deletions

View File

@ -468,7 +468,8 @@ The following configuration is available for the PiHole service.
- name: "Pi-hole"
logo: "assets/tools/sample.png"
# subtitle: "Network-wide Ad Blocking" # optional, if no subtitle is defined, PiHole statistics will be shown
url: "http://192.168.0.151/admin" # For v6 API, do not include /admin in the URL
url: "http://192.168.0.151/admin"
# endpoint: "http://192.168.0.151" # optional, For v6 API, this is the base URL used to fetch Pi-hole data overwriting the url
apikey: "<---insert-api-key-here--->" # optional, needed if web interface is password protected
type: "PiHole"
apiVersion: 5 # optional, defaults to 5. Use 6 if your PiHole instance uses API v6