fix: environment variable using wrong name

This commit is contained in:
trafficlunar 2024-11-29 22:59:24 +00:00
parent 628ed990f3
commit 3bc58cadbe

View file

@ -4,7 +4,7 @@ import "os"
func StartWorkers() {
go StartLastFMWorker()
if os.Getenv("STATUS") == "true" {
if os.Getenv("UPTIME_KUMA_ENABLED") == "true" {
go StartStatusWorker()
}
}