mirror of
https://github.com/glanceapp/glance.git
synced 2024-11-22 08:23:52 +01:00
Use hyphen instead of underscore
This commit is contained in:
parent
39663cb594
commit
7afad765cb
@ -997,7 +997,7 @@ Properties for each site:
|
||||
| ---- | ---- | -------- | ------- |
|
||||
| title | string | yes | |
|
||||
| url | string | yes | |
|
||||
| check_url | string | no | |
|
||||
| check-url | string | no | |
|
||||
| icon | string | no | |
|
||||
| allow-insecure | boolean | no | false |
|
||||
| same-tab | boolean | no | false |
|
||||
@ -1008,9 +1008,9 @@ The title used to indicate the site.
|
||||
|
||||
`url`
|
||||
|
||||
The public facing URL of a monitored service, the user will be redirected here. If `check_url` is not specified, this is used as the status check.
|
||||
The public facing URL of a monitored service, the user will be redirected here. If `check-url` is not specified, this is used as the status check.
|
||||
|
||||
`check_url`
|
||||
`check-url`
|
||||
|
||||
The URL which will be requested and its response will determine the status of the site. If not specified, the `url` property is used.
|
||||
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
|
||||
type SiteStatusRequest struct {
|
||||
URL string `yaml:"url"`
|
||||
CheckURL string `yaml:"check_url"`
|
||||
CheckURL string `yaml:"check-url"`
|
||||
AllowInsecure bool `yaml:"allow-insecure"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user