mirror of
https://github.com/Xevion/glance.git
synced 2025-12-06 03:15:13 -06:00
Add alternative status code prameter
This commit is contained in:
@@ -1082,6 +1082,7 @@ Properties for each site:
|
||||
| icon | string | no | |
|
||||
| allow-insecure | boolean | no | false |
|
||||
| same-tab | boolean | no | false |
|
||||
| alt-status-codes | array | no | |
|
||||
|
||||
`title`
|
||||
|
||||
@@ -1117,6 +1118,15 @@ Whether to ignore invalid/self-signed certificates.
|
||||
|
||||
Whether to open the link in the same or a new tab.
|
||||
|
||||
`alt-status-codes`
|
||||
|
||||
Status codes other than 200 that you want to return "OK".
|
||||
|
||||
```yaml
|
||||
alt-status-codes:
|
||||
- 403
|
||||
```
|
||||
|
||||
### Releases
|
||||
Display a list of latest releases for specific repositories on Github, GitLab, Codeberg or Docker Hub.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user