mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
Adds the option to skip TLS verification for a Gotify instance (#544)
This commit is contained in:
parent
10fd81a2c1
commit
dccdf708a9
4 changed files with 33 additions and 12 deletions
|
@ -18,7 +18,7 @@ func init() {
|
|||
lock <- true
|
||||
}
|
||||
|
||||
// SetupHTTPUpdates configures the endopint needed for triggering updates via http
|
||||
// SetupHTTPUpdates configures the endpoint needed for triggering updates via http
|
||||
func SetupHTTPUpdates(apiToken string, updateFunction func()) error {
|
||||
if apiToken == "" {
|
||||
return errors.New("api token is empty or has not been set. not starting api")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue