fix: environment variable using wrong name
This commit is contained in:
parent
628ed990f3
commit
3bc58cadbe
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import "os"
|
||||||
|
|
||||||
func StartWorkers() {
|
func StartWorkers() {
|
||||||
go StartLastFMWorker()
|
go StartLastFMWorker()
|
||||||
if os.Getenv("STATUS") == "true" {
|
if os.Getenv("UPTIME_KUMA_ENABLED") == "true" {
|
||||||
go StartStatusWorker()
|
go StartStatusWorker()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue