mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Adding ENV[TIMEOUT] for Uptime-Kuma mod.
This commit is contained in:
@@ -33,7 +33,7 @@ class UptimeKumaService:
|
|||||||
)
|
)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.api = UptimeKumaApi(url)
|
self.api = UptimeKumaApi(url, ENV[TIMEOUT])
|
||||||
self.api.login(username, password)
|
self.api.login(username, password)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user