Add allow-insecure for dns-stats widget

This commit is contained in:
Svilen Markov
2024-11-30 14:24:56 +00:00
parent b5259d1a98
commit d876f4cb39
2 changed files with 31 additions and 12 deletions

View File

@@ -1343,6 +1343,7 @@ Preview:
| Name | Type | Required | Default |
| ---- | ---- | -------- | ------- |
| service | string | no | pihole |
| allow-insecure | bool | no | false |
| url | string | yes | |
| username | string | when service is `adguard` | |
| password | string | when service is `adguard` | |
@@ -1352,6 +1353,9 @@ Preview:
##### `service`
Either `adguard` or `pihole`.
##### `allow-insecure`
Whether to allow invalid/self-signed certificates when making the request to the service.
##### `url`
The base URL of the service. Can be specified from an environment variable using the syntax `${VARIABLE_NAME}`.