mirror of
https://github.com/Xevion/glance.git
synced 2025-12-09 06:07:18 -06:00
Add timeout property
This commit is contained in:
@@ -1613,7 +1613,6 @@ Example:
|
||||
- title: Vaultwarden
|
||||
url: https://vault.yourdomain.com
|
||||
icon: /assets/vaultwarden-logo.png
|
||||
|
||||
```
|
||||
|
||||
Preview:
|
||||
@@ -1651,6 +1650,7 @@ Properties for each site:
|
||||
| check-url | string | no | |
|
||||
| error-url | string | no | |
|
||||
| icon | string | no | |
|
||||
| timeout | string | no | 3s |
|
||||
| allow-insecure | boolean | no | false |
|
||||
| same-tab | boolean | no | false |
|
||||
| alt-status-codes | array | no | |
|
||||
@@ -1686,6 +1686,10 @@ icon: si:adguard
|
||||
>
|
||||
> Simple Icons are loaded externally and are hosted on `cdn.jsdelivr.net`, if you do not wish to depend on a 3rd party you are free to download the icons individually and host them locally.
|
||||
|
||||
`timeout`
|
||||
|
||||
How long to wait for a response from the server before considering it unreachable. The value is a string and must be a number followed by one of s, m, h, d. Example: `5s` for 5 seconds, `1m` for 1 minute, etc.
|
||||
|
||||
`allow-insecure`
|
||||
|
||||
Whether to ignore invalid/self-signed certificates.
|
||||
|
||||
Reference in New Issue
Block a user